gfortran, -static and cctools

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Sep 10 16:50:00 GMT 2006


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.

-- 
Steve



More information about the Fortran mailing list