This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs and exceptions
- To: oliva at dcc dot unicamp dot br (Alexandre Oliva), egcs at cygnus dot com
- Subject: Re: egcs and exceptions
- From: Jason Merrill <jason at cygnus dot com>
- Date: 31 Oct 1998 02:47:10 -0800
- References: <Pine.A32.3.91.981022102148.50968A-100000@ieva06.lanet.lv> <orpvbbt1mq.fsf.cygnus.egcs@araguaia.dcc.unicamp.br>
>>>>> Alexandre Oliva <oliva@dcc.unicamp.br> writes:
> Maybe you have to build libgcc.a and libstdc++.a with this option
> enabled.
Yes. If you want to use sjlj, it makes more sense to change
the default for exceptions_via_longjmp in except.c and rebuild the
compiler, rather than trying to consistently pass the flag. This is true
for other ABI flags, as well.
> Of course one may argue that libgcc has nothing to do with `the entire
> application'
It absolutely does. Much of the EH support code is written in C++.
Jason