gfortran on MacOSX

Jose Sinibaldi sinibaldi@mac.com
Thu Feb 22 08:56:00 GMT 2007


Dear gfortran team:

I seem to be having the same problem as C. Rickett see below (this is  
an exerpt from your support webpages), except that I am running  
macOSX version 10.4.8 with Xcode v2.0 on a G4 iMac.  Is there a way  
to tell gfortran not to pass the "-maxosx_version_min" to the  
linker?  Or do I simply need to install new Xcode tools?

Best regards,

Jose Sinibaldi
================================

From: "Christopher D. Rickett" <crickett at lanl dot gov>
To: fortran at gcc dot gnu dot org
Date: Tue, 13 Jun 2006 17:06:53 -0600 (MDT)
Subject: gfortran link issue mac osx


i built the trunk and installed it on a mac osx, but when i tried using
the resulting gfortran, the following happened:

$>gfortran -o hello hello.f90
/usr/bin/ld: unknown flag: -macosx_version_min
collect2: ld returned 1 exit status

apparently, the flag is in the apple ld from oct. 05 or newer, but the
version on this system is from april 05.  is there a reason that  
configure
did not catch this?

Thanks.
Chris



More information about the Fortran mailing list