Advice on compiling GCJ for ARM

Andrew Haley aph@redhat.com
Tue Sep 21 08:55:00 GMT 2010


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /