Re: Advice on compiling GCJ for ARM

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