configure: error: unable to detect exception model

Ian Lance Taylor iant@google.com
Fri Apr 1 20:19:00 GMT 2011


Alen Skondro <askondro@gmail.com> writes:

> I'm trying to compile a cross compiler  cygwin -> arm-linux-androideabi.
> GCC is 4.6.1 (latest from 4.6 branch)
>
> Everything compiles smoothly until libstdc++.
>
> Configure fails with:
> ================
> checking for exception model to use... configure: error: unable to
> detect exception model
>
>
> configure script:
> ../gcc/configure --disable-multilib --with-cross-host=i686-pc-cygwin
> --prefix=/arm-cross
> --with-sysroot=/cygdrive/g/ANDROID/android-ndk-r5b/platforms/android-9/arch-arm
> --disable-ssp --enable-threads --disable-shared --disable-tls
> --disable-sjsl-exceptions --disable-mudflap --with-arch=armv5te
> --with-float=soft --enable-languages=c,c++ --build=i686-pc-cygwin
> --host=i686-pc-cygwin  --target=arm-linux-androideabi
> --disable-libgomp --enable-libstdc__-v3
>
> What does the error mean?

In this case it means that you misspelled --disable-sjlj-exceptions.

Ian



More information about the Gcc-help mailing list