This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Unable to detect exception model on gcj-eabi-branch
- From: Andrew Haley <aph-gcc at littlepinkcloud dot COM>
- To: David Daney <ddaney at avtrex dot com>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 31 Aug 2007 10:25:22 +0100
- Subject: Re: Unable to detect exception model on gcj-eabi-branch
- References: <46D74A5E.40403@avtrex.com>
David Daney writes:
> I am trying to build the gcj-eabi-branch and am getting this error while
> configuring in libjava:
>
> checking for exception model to use... configure: error: unable to
> detect exception model
>
>
> Configured like this:
>
> ../gcj-eabi-branch/configure --target=armv5tl-montavista-linuxeabi
> --prefix=/home/daney/mvl/gcj
> --with-sysroot=/home/daney/mvl/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target
> --enable-languages=c,c++,java --with-float=soft --disable-java-awt
> --without-x --disable-jvmpi --enable-__cxa_atexit
>
> I will try again adding --disable-sjlj-exceptions, but I was hoping that
> it would work the other way [i686|x86_64|mips|mips64]-linux do not
> require any special exception specifiers.
I used options
" '--with-system-zlib' '--enable-threads=posix' '--enable-nls'
'--enable-__cxa_atexit' '--enable-clocale=gnu'
'--enable-libstdcxx-debug' '--enable-mpfr' '--enable-checking=release'
'--disable-multilib' '--disable-static' 'arm-linux-gnueabi'
'--disable-sjlj-exceptions' '--prefix=/home/aph/gcc/install'
'build_alias=arm-linux-gnueabi' 'host_alias=arm-linux-gnueabi'
'target_alias=arm-linux-gnueabi' '--enable-languages=c,c++,java'"
We need to see your config.log to see what went wrong.
Andrew.