Advice on compiling GCJ for ARM
Josh Marinacci
joshua@marinacci.org
Wed Sep 22 15:05:00 GMT 2010
> 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!
More information about the Java
mailing list