Re: Advice on compiling GCJ for ARM
Josh Marinacci <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sep 21, 2010, at 4:55 AM, Andrew Haley wrote: > 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 what version of gcc & glibc are you using? > >> 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. Blasting forth in three part harmony!