This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Advice on compiling GCJ for ARM
- From: Andrew Haley <aph at redhat dot com>
- To: Josh Marinacci <joshua at marinacci dot org>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 21 Sep 2010 09:55:16 +0100
- Subject: Re: Advice on compiling GCJ for ARM
- References: <3D92DBFC-92B6-439F-B565-BB29CF1FC04A@marinacci.org>
On 21/09/10 04:14, Josh Marinacci wrote:
> I've been trying off and on for a week to build a GCJ compiler for
> webOS, a Linux variant on ARM, with very little success. On the
> bright side I've started to learn more about how the GCC build
> system works. :) My host machine is Mac OSX 10.6.4, Snow
> Leopard. I've been able to get GCJ for Mac OSX (darwin) working
> (though with a few issues), but I can't the cross compiler to even
> finish compiling.
Works for me. You have to build with the right options. My setup is
$ /home/aph/gcc/gcc-4_5-branch/configure --prefix=/home/aph/x-arm/install --target=arm-linux-gnueabi --with-sysroot=/home/aph/x-arm/rootfs-f12/ --with-headers=/home/aph/x-arm/chroot-arm/usr/include/ -disable-libssp --disable-libgomp --disable-libmudflap --disable-multilib --disable-static --disable-sjlj-exceptions --enable-languages=java
> So my first question is really just a request for advice: what
> version of GCC should I start with? Which one is likely to give me
> the most success? Recent 4.5 builds?
>
> Second, should I be using glibc or newlib?
glibc.
Andrew.