Message-ID: <5E093C2B-CD69-4B85-8E91-15E097000AA4@r-project.org>
Date: 2011-08-06T14:17:26Z
From: Simon Urbanek
Subject: gfortran for lion
In-Reply-To: <3F750D8B-A4BB-467C-903C-E9263A9B2E5B@imperial.ac.uk>
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