This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: default cflags to compile


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]