configure: error: unable to detect exception model
Alen Skondro
askondro@gmail.com
Sat Apr 2 13:56:00 GMT 2011
On Fri, Apr 1, 2011 at 10:19 PM, Ian Lance Taylor <iant@google.com> wrote:
> 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
>
Well, this is embarrassing :)
thank you!
Now configuration is OK but libiberty wants to compile it's own
getpagesize but it is already defined in android headers(unistd.h).
More information about the Gcc-help
mailing list