static linking fails for 4.2(.1) and trunk (4.4.0) with OSX ld/toolchain
Andrew Pinski
pinskia@gmail.com
Tue May 13 21:01:00 GMT 2008
On Tue, May 13, 2008 at 1:56 PM, SAL Software Developer
<developer@sandoe-acoustics.co.uk> wrote:
> Hello,
> I'm building/running on OSX-10.4.11 on ppc.
> ./dst-powerpc/usr/bin/gfortran-4.4.0 -static -nostartfiles helloi.F90 -o
> hellof
Apple does not supply any of their libraries as static libraries. So
you cannot link with -static on Mac OS X. Also needing to use
-nostartfiles should be another way to tell that you cannot static
link on Mac OS X.
Thanks,
Andrew Pinski
More information about the Fortran
mailing list