Building OpenJDK 1.7.0 for Mac OS X 10.6 (Snow Leopard)
I’m basing this blog entry on this reference page. There are only a few different things that you need to do so I will spell those out cleanly relative to what was previously needed:
- Grab the dependencies except for JIBX, it is no longer needed for the build.
- Checkout the code as described.
- export JAVA_HOME=$SOYLATTE_HOME
- The build script is somewhat different:
env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin \
CC=gcc-4.0 CXX=g++-4.0 \
That should then result in a build/bsd-i586/j2sdk-image directory containing the JDK.