This is the mail archive of the gcc@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: configure: error: unable to detect exception model


Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> writes:

>> > when I try to make cfg-branch I get this error:
>> >
>> > checking for exception model to use... configure: error: unable to detect exception model
>> > make: *** [configure-target-libstdc++-v3] Error 1
>> 
>> Update again from CVS.  This should be fixed by:
>
> Done, the error is still there.

This time it's a different error ;-)

>> Check config.log for details of the problem,
>
> configure:3662: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
> configure: failed program was:
> #line 3655 "configure"
> #include "confdefs.h"
> #include <stdlib.h>
> int main() {
> char* tmp; strtoull("gnu", &tmp, 10);
> ; return 0; }
> configure:3690: checking for c header strategy to use
> configure:3747: checking for thread model used by GCC
> configure:3800: checking for exception model to use
> configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
>
> But g++ IS installed on the system.

Which commands did you issue exactly?

configure looks in this case for g++ only in the build environment.
If you enabled C++ during bootstrap, everything should work - and if
you disabled C++, libstdc++ should never be build.  Therefore please
tell us what you did so that we can help.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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