This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcc crosstool chain with soft floating point support for arm9 + java
- From: Andrew Haley <aph at redhat dot com>
- To: kpremendra <premendra dot kumar at lntemsys dot com>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 27 Nov 2008 14:28:03 +0000
- Subject: Re: gcc crosstool chain with soft floating point support for arm9 + java
- References: <20719472.post@talk.nabble.com>
kpremendra wrote:
> I am using crosstool 0.43 to generate crosstool for arm9 with soft float,
> with c,c++,java
> languages support.
Firstly, gcj was not supported on ARM before gcc 4.3. It's only supported
on the new EABI, arm-linux-gnueabi. There is arm-linux-gnu, the old one,
and arm-linux-gnueabi, the new one. The old one defaults to soft float, the
new one hard float.
So, are you building arm-linux-gnu or arm-linux-gnueabi?
This is my configury for X-arm gcc with gcj:
/home/aph/gcc/trunk/configure --prefix=/local/x-arm-gcc/install \
--with-sysroot=/local/x-arm-gcc/rootfs-f8 --disable-libssp \
--disable-libgomp --disable-libmudflap --enable-libgcj \
--disable-bootstrap --disable-multilib --disable-static \
--disable-sjlj-exceptions --target=arm-linux-gnueabi \
--enable-java-awt=gtk \
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre \
--enable-languages=c,c++,java
This should get you a cross-compiler compatible with an EABI kernel.
Andrew.