Re: Advice on compiling GCJ for ARM

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
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.