Skip to content
Prev 5044 / 15075 Next

gfortran and gcc 4.2

On Aug 28, 2008, at 23:59 , Kasper Daniel Hansen wrote:

            
gfortran-42.pkg complements Apple's gcc-4.2 compiler so if you have  
Apple's gcc-4.2 then that is the way to go.

I don't see "gfortran-4.2.3.pkg" on the page, but there is  
"gfortran-4.2.3.dmg" which is a pure GNU Fortran (thus it doesn't have  
any Apple build number) living in /usr/local, independent of the Apple  
compilers. That is what we supply with R since we cannot rely on  
gcc-4.2 (until recently it was not available to the public). Also it  
lives in /usr/local to be fully independent.

As for the build numbers - Apple is very slow in releasing sources for  
their binaries, so the current build is usually not available.  
(Apparently they have put 5564 up just a few days ago, so I'll build  
the updated version soon, but if you're using just the gfortran part  
there will be likely no changes sine the Fortran sources come from FSF).

Cheers,
Simon