Re: Reg GCC macros for exception handling.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"venkat" <venkat@xxxxxxxxx> 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux