This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Peter O'Gorman <peter at pogma dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Arnaud Charlet <charlet at adacore dot com>, Geoff Keating <geoffk at apple dot com>, Andrew Pinski <pinskia at physics dot uc dot edu>, Chris Douty <Chris_Douty at ampex dot com>, Laurent GUERBY <laurent at guerby dot net>
- Date: Mon, 23 Jan 2006 16:05:31 +0100
- Subject: Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?
- References: <1137484110.20435.1003.camel@pc.site> <200601231523.47620.ebotcazou@adacore.com> <43D4EF1C.3080700@pogma.com>
> Since Geoff is worried about future binary compatibility apparently, it
> would probably be easier to modify gnatlink.adb to emit -static-libgcc or
> -shared-libgcc depending on whether static or shared gnatlib is used.
The problem is that passing -static-libgcc unconditionally can theoritically
cause problems on Linux when C code using POSIX threads is linked. So we
would need to do that only on Darwin.
--
Eric Botcazou