egcs and exceptions
Jason Merrill
jason@cygnus.com
Sat Oct 31 02:52:00 GMT 1998
>>>>> 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
More information about the Gcc
mailing list