[R-SIG-Mac] gfortran for lion

Simon Urbanek simon.urbanek at r-project.org
Sat Aug 6 16:17:26 CEST 2011


On Aug 3, 2011, at 7:19 AM, Jaffe, Andrew H wrote:

> Dear all,
> 
> I was attempting to install the latest gfortran for OS X 10.7 Lion. 
> 
> I note that there is an Xcode add-on version for Lion. Its readme screen does indeed claim that this "GNU Fortran 4.2.4 for Xcode 4.1".
> 
> However:
> 
> * the "file list" in the package says "GNU Fortran 4.2.4 for Xcode 3.2.3" 
> * the files themselves are labelled ./usr/bin/i686-apple-darwin11-gfortran-4.2.1.
> * gfortran --version gives "GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)"
> 
> So, which is it? (And can/should I use the old 2008 CRAN version instead?)
> 

I have no idea what you mean by "file list", but everything else is exactly as it should be. It's GNU Fortran 4.2.4 compiled in Apple's gcc 4.2.1 (build 5666.3) branch - which is what Xcode 4.1 is (see gcc-4.2 --version).

You can use either (as the post said). The differences from the CRAN Fortran are the same as for any of the Leopard and Snow Leopard Xcode add-ons, nothing changed since.

Cheers,
Simon



More information about the R-SIG-Mac mailing list