Reg GCC macros for exception handling.
Ian Lance Taylor
iant@google.com
Wed Apr 8 13:57:00 GMT 2009
"venkat" <venkat@acmet.com> writes:
> I wanted to avoid building exception handling routines, so I used
> --enable-sjlj-exceptions=no. I am not sure if this is correct.
This tells gcc to use DWARF based exception handling rather than
setjmp/longjmp exception handling.
There is no way to tell gcc to not support exception handling at all.
If you don't want to implement it, put something like this in your
OVERRIDE_OPTIONS function
if (flag_exceptions)
{
sorry ("exceptions are not supported");
flag_exceptions = false;
}
Ian
More information about the Gcc-help
mailing list