gcc crosstool chain with soft floating point support for arm9 + java

Andrew Haley aph@redhat.com
Thu Nov 27 14:28:00 GMT 2008


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.



More information about the Java mailing list