[R-SIG-Mac] gfortran and gcc 4.2

Kasper Daniel Hansen khansen at stat.berkeley.edu
Fri Aug 29 05:59:27 CEST 2008


I want to get a suitable gfortran for Xcode 3.1 under Leopard in order  
to build x86_64

Despite reading the "tools" and "building" pages on r.research.att.com  
I am still confused. The comment on GCC 4.2 on the "building" page  
seems to indicate that I should look under the "Alternative" section  
on "tools".

Here I see gfortran-42.pkg which has a build of 5531. But my  
version(s) of GCC are

kasper-hansens-macbook:~/Work/packages/> gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.

kasper-hansens-macbook:~/Work/packages/> gcc-4.2 --version
i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.

and at the top of the page I see gfortran-4.2.3.pkg which seems to be  
a later version (but has no build information).

So which one should I use?

Thanks
Kasper



More information about the R-SIG-Mac mailing list