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]

[Re: gfortran, -static and cctools]


missed the list

-------- Original Message --------
Subject: Re: gfortran, -static and cctools
Date: Sun, 10 Sep 2006 10:13:58 -0700
From: Jerry DeLisle <jvdelisle@verizon.net>
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
References: <20060910163620.9988F11000B@bromo.msbb.uc.edu> <20060910164943.GB22068@troutmask.apl.washington.edu>


Steve Kargl wrote:
On Sun, Sep 10, 2006 at 12:36:20PM -0400, Jack Howarth wrote:
    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.


Jack,

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.

Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]