-fnew-abi and C++? (was C++ and 2.95.1)

George T. Talbot george@moberg.com
Tue Aug 31 23:20:00 GMT 1999


David Edelsohn wrote:
> 
>         If you use the -fnew-abi option of G++, you need to BUILD libgcc
> and libstdc++ with that option.  -fnew-abi is not a runtime option that
> you can select arbitrarily and co-exist with the old ABI.  The new ABI
> affects mangling of C++ symbols.  This is why -fnew-abi is waiting for a
> lot of functionality before it is enabled, because it will break
> compatibility with old object files and libraries.
> 
> David

OK.  Thanks for the heads up.  I was only doing it because I wanted
thread-safe exceptions, which Jason Merrill at Cygnus says I get when
compiling gcc with --enable-threads, so I don't need -fnew-abi after
all.

--
George T. Talbot
<george@moberg.com>



More information about the Gcc mailing list