This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: default cflags to compile
- From: Nix <nix at esperi dot org dot uk>
- To: "Nuno Lopes" <ncpl at mega dot ist dot utl dot pt>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Mon, 12 Dec 2005 00:59:18 +0000
- Subject: Re: default cflags to compile
- References: <006801c5fc28$6166b6e0$0100a8c0@pc07653>
On 8 Dec 2005, Nuno Lopes gibbered uncontrollably:
> I need to generate a gcc binary that will always enable the
> -fabi-version=1, because I have a library built with gcc 3.3 and I
> need to link with it, but I would like to use gcc 4.
The libstdc++ ABI broke between these releases, so unless your library
doesn't use libstdc++ at all (somewhat unlikely), there is little point
to this.q
> Is there a simple way to do this (a configure option,..) ? or do I
> need to patch the gcc/c-cppbuiltin.c file to always define
> _GXX_ABI_VERSION as 102?
The latter, as far as I know.
--
`Don't confuse the shark with the remoras.' --- Rob Landley