[PATCH] Add cross-compilation support

Thierry Reding thierry.reding at avionic-design.de
Tue Jun 8 05:08:55 PDT 2010


The following patch adds rudimentary support for cross-compiling IcedTea 7.
This only works for non-bootstrapped builds. I've also tested building IcedTea
natively and it still works fine with this patch. The cross-compile was done
with an ARM target, but I currently have no hardware to test this on. I may
be able to runtime test the cross-compile on an i686 target later this week.

Cross-compiling also requires a native build of IcedTea/OpenJDK, so you need
to pass --with-jdk-home=/path/to/icedtea/or/openjdk and --disable-bootstrap
for this to work. I have also not tested cross-building the plugin yet.

Cheers,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-cross-compile.patch
Type: text/x-diff
Size: 19979 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100608/0ec1698a/icedtea-cross-compile.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100608/0ec1698a/attachment.bin 


More information about the distro-pkg-dev mailing list