-fno-exceptions and libgcc.a

Jason Merrill jason@cygnus.com
Fri Oct 3 17:44:00 GMT 1997


>>>>> H J Lu <hjl@lucon.org> writes:

> To save disk space, I use -fno-exceptions to compile egcs. But the
> resuled egcs binary fails most of exception handling tests. Taking
> out -fno-exceptions fixes it. I suspect part of libgcc.a should be
> compiled with -fexceptions even if -fno-exceptions is used. Any ideas?

_eh.o and the C++ pieces need to be compiled with -fexceptions.

Jason



More information about the Gcc mailing list