This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Sun, Sep 10, 2006 at 12:36:20PM -0400, Jack Howarth wrote:Jack,Does anyone understand why gfortran on Darwin PPC is unable to link with the -static flag. If I build current gcc trunk with Xcode 2.4 (which is required now because of the literal16 change unless the autoconf hack is added), I find that...
gfortran -O3 -g -static nan_inf_fmt.f90
...generates the linker error...
/usr/bin/ld: can't locate file for: -lcrt0.o collect2: ld returned 1 exit status
Just a WAG. Apple's toolchain is broken.
Also, for those in the know: The call to atoi is translated to strtol_l (). Maybe there is a size mismatch between that and the 'int e' we are trying to put the result in.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |