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

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.