From owner-freebsd-standards@FreeBSD.ORG Sun Feb 6 20:04:32 2011 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DD11106564A for ; Sun, 6 Feb 2011 20:04:32 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 6046D8FC08 for ; Sun, 6 Feb 2011 20:04:32 +0000 (UTC) Received: from p5796fb7b.dip.t-dialin.net ([87.150.251.123] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PmALP-00052r-1k; Sun, 06 Feb 2011 20:32:23 +0100 Message-ID: <4D4EF746.9070502@gwdg.de> Date: Sun, 06 Feb 2011 20:32:22 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de-DE; rv:1.9.2.13) Gecko/20101218 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-standards@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: Murray Stokely Subject: Support for C99 complex type required X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 20:04:32 -0000 For more than a decade now it was possible to install the statistical program R (http://cran.r-project.org/) from the sources, even without patching. Since fortran was removed from the system, lang/gcc44 or lang/gcc45 has to be installed before. In addition a nice port exists for years now: math/R. With the new development version of R ftp://ftp.stat.math.ethz.ch/Software/R/R-devel.tar.gz the configure script stops complaining about missing C99 complex types. This is reproducable with only untaring the sources and starting configure script in R-devel with ./configure. There was a discussion on the R-devel mailing list about it. The developers came to the conclusion that there is no support for complex functions complied with C99 standard in FreeBSD. http://gcc.gnu.org/gcc-4.2/c99status.html As far as I can see (I am not a programmer) FreeBSD is using the old c99 wrapper file in /usr/bin. Am I right that lang/gcc45 should support such complex functions? http://gcc.gnu.org/gcc-4.5/c99status.html Is there any way to get access to C99 complex functions of gcc-4.5.3 or newer at least within a port? Thanks for any hint, Rainer Hurling