Advice on compiling GCJ for ARM
Dr Andrew John Hughes
gnu_andrew@member.fsf.org
Wed Sep 22 18:51:00 GMT 2010
On 22 September 2010 09:09, Andrew Haley <aph@redhat.com> wrote:
> On 21/09/10 15:18, Josh Marinacci wrote:
>>>> 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
>> 4.5 branch: more or less 4.5.1.
>>> & glibc are you using?
>> Hmmm, dunno. Whatever is in Fedora 12: glibc-2.11.2-1.
>> Andrew.
>
Running /lib/libc.so.6 will tell you :-)
--
Andrew :-)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the Java
mailing list