[PATCH] Allow compiling 32-bit JDK on 64-bit host
Mladen Turk
mturk at redhat.com
Wed Mar 30 06:28:25 PDT 2011
Hi,
Attached is the patch that allows compiling
linux-i586 build on a 64-bit host.
It doesn't solve the problem entirely since
setarch util is still needed to run gmake.
(eg. `setarch i586 gmake ...' )
The patch makes sure -m32/-m64 flags are always added
depending on the ARCH_DATA_MODEL like it's done
when compiling hotspot (or linux-sparc)
Regards
--
^TM
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: linux-cross-compile.patch
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110330/470aaf71/linux-cross-compile.patch
More information about the distro-pkg-dev
mailing list