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: Laurent GUERBY <laurent at guerby dot net>
- To: Arnaud Charlet <charlet at adacore dot com>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>, Geoffrey Keating <geoffk at apple dot com>, gcc at gcc dot gnu dot org, Peter O'Gorman <peter at pogma dot com>, gcc-patches at gcc dot gnu dot org, Andrew Pinski <pinskia at physics dot uc dot edu>, Chris Douty <Chris_Douty at ampex dot com>, Vincent Celier <celier at adacore dot com>
- Date: Wed, 01 Feb 2006 23:11:02 +0100
- Subject: Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?
- References: <1137484110.20435.1003.camel@pc.site> <200601232251.26922.ebotcazou@adacore.com> <956B133C-F432-4D5A-A21E-865FE6061A15@apple.com> <200601232315.57601.ebotcazou@adacore.com> <20060124092900.GA68121@adacore.com>
On Tue, 2006-01-24 at 10:29 +0100, Arnaud Charlet wrote:
> Otherwise, we could modify systematically the binder/linker to always
> call gcc with either -static-libgcc or -shared-libgcc when linking, depending
> on whether shared libs are used. Or we could make this capability optional
> and enabled with a flag in link.c named e.g. "__gnat_force_libgcc_switch"
You mean value of zero or one, zero everywhere but if on darwin (what's
the define for this target?), imported in gnatlink.adb, if one then if
GNAT_Static add -static-libgcc elsif GNAT_Shared add -shared-libgcc?
Looks a bit tricky since I don't know the code, but doable.
Laurent