This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fno-exceptions and libgcc.a
- To: hjl at lucon dot org (H.J. Lu), egcs at cygnus dot com
- Subject: Re: -fno-exceptions and libgcc.a
- From: Jason Merrill <jason at cygnus dot com>
- Date: 03 Oct 1997 17:43:49 -0700
- References: <m0xHF6U-0004eeC.cygnus.egcs@ocean.lucon.org>
>>>>> 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