Reg GCC macros for exception handling.

Wed Apr 8 13:39:00 GMT 2009

I am porting GCC for a 32 bit RISC. I have not defined macros for debug
information support yet.

I am using the following options in my build.

--without-headers --disable-shared  --disable-libssp --disable-libgomp
--disable-fixed-point --enable-languages=c  --disable-threads

I wanted to avoid building exception handling routines, so I used
--enable-sjlj-exceptions=no. I am not sure if this is correct.

And while building libgcc, I get the following error.

In file included from build/gencondmd.c:43:
../../gccport/gcc-4.3.0/gcc/gcc/except.h:157:6: error: #error
../../gccport/gcc-4.3.0/gcc/gcc/except.h:160:6: error: #error
"EH_RETURN_HANDLER_RTX or eh_return required"
../../gccport/gcc-4.3.0/gcc/gcc/except.h:163:6: error: #error

We need to define these macros mandatorily?  Also how should I disable
building the exception handling routines?

Please assist.

More information about the Gcc-help mailing list