support for exception handling problem

Hi,

When I include some header file (eg. #include) I get the following error:

“/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/bits/locale_classes.h”, line 410: error:
support for exception handling is disabled
try

Does anyone have any idea what I can do?

Thanks,

Are you compiling with --host-compilation ‘C++’?

No I wasn’t. Thanks, that solved the problem