From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30918 invoked by alias); 22 Sep 2010 18:51:52 -0000 Received: (qmail 30907 invoked by uid 22791); 22 Sep 2010 18:51:50 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_JL,T_HK_NAME_FM_DR X-Spam-Check-By: sourceware.org Received: from mail-pw0-f47.google.com (HELO mail-pw0-f47.google.com) (209.85.160.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Sep 2010 18:51:44 +0000 Received: by pwi10 with SMTP id 10so64635pwi.20 for ; Wed, 22 Sep 2010 11:51:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.11.15 with SMTP id 15mr532931wfk.218.1285181503053; Wed, 22 Sep 2010 11:51:43 -0700 (PDT) Received: by 10.220.74.71 with HTTP; Wed, 22 Sep 2010 11:51:42 -0700 (PDT) In-Reply-To: <4C99B9A8.5080008@redhat.com> References: <3D92DBFC-92B6-439F-B565-BB29CF1FC04A@marinacci.org> <4C9872F4.90409@redhat.com> <4C99B9A8.5080008@redhat.com> Date: Wed, 22 Sep 2010 18:51:00 -0000 Message-ID: Subject: Re: Advice on compiling GCJ for ARM From: Dr Andrew John Hughes To: Andrew Haley Cc: Josh Marinacci , java@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2010-09/txt/msg00013.txt.bz2 On 22 September 2010 09:09, Andrew Haley 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. =C2=A0On 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. =C2=A0You have to build with the right options. =C2=A0My = setup is >>> >>> =C2=A0$ /home/aph/gcc/gcc-4_5-branch/configure --prefix=3D/home/aph/x-a= rm/install --target=3Darm-linux-gnueabi --with-sysroot=3D/home/aph/x-arm/ro= otfs-f12/ --with-headers=3D/home/aph/x-arm/chroot-arm/usr/include/ -disable= -libssp --disable-libgomp --disable-libmudflap --disable-multilib --disable= -static --disable-sjlj-exceptions --enable-languages=3Djava >> >> what version of gcc > > 4.5 branch: more or less 4.5.1. > >> & glibc are you using? > > Hmmm, dunno. =C2=A0Whatever is in Fedora 12: glibc-2.11.2-1. > > Andrew. > Running /lib/libc.so.6 will tell you :-) --=20 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=C2=A0 7927 142C 2591 94EF D9D8