how to build 32-bit openjdk7 on x86_64

Ben Cheng bccheng at google.com
Thu Dec 6 18:56:24 UTC 2007


Sorry for not being clear in the original email. It is not as scary as it
sounds.

All the pre-installed libraries by IT on our x86_64 linux workstations are
32-bit, so I just grab a few extra ones (sound, freetype, ...) as described
on the build-howto page. After that and the makefile hacks, I was able to
build 32-bit JDK.

However, I was not able to build 64-bit JDK yet. I assume I will need to
prepare a chroot environment with 64-bit libraries installed but I just
don't have time to try it out yet.

So the bottom line is if a developer is constrained by the hybrid 32/64-bit
environment like I am, it is possible to build 32-bit JDK with a few
makefile hacks.

Thanks,
-Ben
On Dec 5, 2007 6:27 PM, Tim Bell <Tim.Bell at sun.com> wrote:

> [...]
> You wrote:
>
>   "where 32-bit libraries are installed"
>
> Er - how many libraries, and what were their names?  Could you enumerate
> the 32/64 installation
> process so that others could do these builds?
>
> Thanks - Tim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20071206/7a7573e8/attachment.html>


More information about the build-dev mailing list