This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: make: *** [bootstrap] Error 2


Ralph Schunk wrote:

> I tried compiling the lates GCC-Sources (CVS).
> I get the following error and do not even understand what it's mean.
:
> checking for exception model to use... configure: error: unable to 
> detect exception model

This is the important line, and I'm not sure how I can phrase it much
differently: the C++ library needs to know which method of exception
handling matches your cpu and operating system's Application Binary
Interface (ABI) and either it cannot detect the ABI's scheme or the
ABI's scheme is unsupported.

You can either force SJLJ execptions with --enable-sjlj-exceptions or
build a C-only compiler with --enable-langugaes=c. You may also be able
to build objective C and Ada but you can't build C++ without an
exception scheme and GCC's java support requires C++.

I'm not sure what the implications of SJLJ exceptions are; if you don't
need to interoperate with anyone else's (including the OS's) C++
libraries then there should be no problem just picking a scheme. I
recall that there were some problems with SJLJ exceptions back in the
days of GCC 2.95.x but I imagine they've been fixed by now.

Good luck,
Rup.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]