From: Josh Marinacci <joshua@marinacci.org>
To: Andrew Haley <aph@redhat.com>
Cc: java@gcc.gnu.org
Subject: Re: Advice on compiling GCJ for ARM
Date: Wed, 22 Sep 2010 15:05:00 -0000 [thread overview]
Message-ID: <90E1FBED-77D8-4889-9E70-531174468D92@marinacci.org> (raw)
In-Reply-To: <4C99B9A8.5080008@redhat.com>
> 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.
Ah, so you are compiling against a premade glibc for your target OS. That was the part I was missing. Last night I finally got it to work by compiling just binutils & gcc 4.5.1 w/ gmp, mpc, & mpfr linked in. I can now create a hello world app that runs on the real device, using static linking. Dynamic linking still fails, though. When I copy the lib directory to the device, change LD_LIBRARY_PATH to point to it, then run the dynamically linked executable it complains that the lib elf is the wrong version. So something is still wonky, but I'm very happy to have gotten this far.
- Josh
Blasting forth in three part harmony!
next prev parent reply other threads:[~2010-09-22 15:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-21 3:17 Josh Marinacci
2010-09-21 8:55 ` Andrew Haley
2010-09-21 14:18 ` Josh Marinacci
2010-09-22 8:09 ` Andrew Haley
2010-09-22 15:05 ` Josh Marinacci [this message]
2010-09-23 12:02 ` Andrew Haley
2010-09-22 18:51 ` Dr Andrew John Hughes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=90E1FBED-77D8-4889-9E70-531174468D92@marinacci.org \
--to=joshua@marinacci.org \
--cc=aph@redhat.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).