This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]