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 --enable-sjlj-exceptions=no 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. (Snip) In file included from build/gencondmd.c:43: ../../gccport/gcc-4.3.0/gcc/gcc/except.h:157:6: error: #error "EH_RETURN_DATA_REGNO required" ../../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 "{DWARF2,TARGET}_UNWIND_INFO required" (Snip) We need to define these macros mandatorily? Also how should I disable building the exception handling routines? Please assist.