This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, darwin] repost of a patch to make "-static-libgfortan" work.
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: IainS <developer at sandoe-acoustics dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org, Fortran List <fortran at gcc dot gnu dot org>, Mike Stump <mrs at apple dot com>
- Date: Tue, 23 Dec 2008 16:17:55 +0100
- Subject: Re: [patch, darwin] repost of a patch to make "-static-libgfortan" work.
- References: <CB658FD1-7CA9-47D3-AC6F-9A4A81CD53A6@sandoe-acoustics.co.uk>
I haven't looked at the patch, but...
> gcc/config/x-darwin: add a flag signalling that this host needs
> distinct static library names.
This is a target-specific feature, not a host-specific feature. While
Darwin is almost always bootstrapped, you can still see the difference:
if I build a darwin-to-linux cross (build=host=darwin, target=linux) the
linker *will* have working -Bstatic/-Bdynamic.
You can put it in config/darwin.h.
Paolo