Skip to content
Prev 8264 / 15076 Next

gfortran for lion

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?)

Yours,

Andrew