Could anyone give me a detailed manual how I can perform cross complication for ARMV5T arch on X86_SuSE? Thanks a lot.

Xerxes Rånby xerxes at zafena.se
Wed Jul 4 09:47:06 PDT 2012


2012-07-04 18:01, zgtour skrev:
> I've gone through the posts on http://icedtea.classpath.org/wiki/Main_Page and https://evolvis.org/plugins/mediawiki/wiki/jalimo/index.php/CrossCompilingOpenJDK. Both of these posts are not detailed enough to a newbie of Cross Complication.
> 
Which step failed for you when you followed the:
http://icedtea.classpath.org/wiki/CrossCompileOECoreTutorial ?
The OpenJDK 6 and 7 source-code is not designed to be easily cross compilable so unfortunately I cant give you any better tutorial.
This OE-Core cross compile build recipes is the most tested way to cross compile both OpenJDK 6/7 and all software that OpenJDK itself depends on to create a complete system to run on armv5 hardware.

If you are interested in cross compiling OpenJDK directly against a custom armv5 linux root filesystem then you may try use the latest OpenJDK 8 source.
OpenJDK 8 have recently got a new configure based build system that is more cross compile friendly.
Scroll down to section 7.3. Cross-compilation in this guide: http://openjdk.java.net/projects/build-infra/guide.html

Cheers
Xerxes



More information about the distro-pkg-dev mailing list