diff options
author | Eric Hameleers <alien@slackware.com> | 2014-05-30 14:41:44 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-05-30 14:41:44 +0000 |
commit | 682f0b0e4b7058aeeb8eb0eb61c994d3c681d01b (patch) | |
tree | dd5db692024f24e32064ab56bf87d0aa1b617484 /openjdk/build/README.txt | |
parent | 028b11a830d379a568a791cee758dad11ef412f3 (diff) | |
download | asb-682f0b0e4b7058aeeb8eb0eb61c994d3c681d01b.tar.gz asb-682f0b0e4b7058aeeb8eb0eb61c994d3c681d01b.tar.xz |
Newer instructions are simpler.
Diffstat (limited to 'openjdk/build/README.txt')
-rw-r--r-- | openjdk/build/README.txt | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/openjdk/build/README.txt b/openjdk/build/README.txt index dff63085..a7df567d 100644 --- a/openjdk/build/README.txt +++ b/openjdk/build/README.txt @@ -15,8 +15,10 @@ which is the browser plugin, and one of "openjdk" or "openjre" packages, depending of course on whether you need the full Java compiler suite or only the Java Runtime Environment. -You will also need packages for apache-ant, xalan, xerces if you want to -compile OpenJDK yourself. +You will also need to install apache-ant if you want to compile OpenJDK +yourself. In the past, xalan and xerces were needed separately as well +but that is no longer needed since apache-ant 1.8.1 and newer has a +fixed 'ant -diagnostics' command when xerces+xalan are not present. Compiling OpenJDK from source @@ -67,7 +69,11 @@ as the plugin which is shipped with Oracle's binaries. Build-time requirements for OpenJDK and icedtea-web =================================================== -A word of caution. All stable Slackware versions including "13.37" are +Slackware 14.0 and newer: +------------------------- +The gcc and seamonkey packages shipped with the distro can be used unmodified. + +A word of caution. All stable Slackware versions before "14.0" are not able to compile OpenJDK "out of the box". You have to enhance two core packages: "gcc" and "seamonkey" so that they become capable of compiling OpenJDK. Use the following instructions to fix-up gcc and seamonkey. @@ -75,6 +81,19 @@ Either alternative is OK but running the shell scripts (the "b" options) is a *lot* faster than recompiling these big packages. These core Slackware packages have be fixed in slackware-current. +Slackware 13.37: +---------------- +You need to upgrade to the seamonkey* packages in the ./patches directory. +Choose one of these two alternatives to get a compatible gcc-java compiler: + a) rebuild gcc with "--enable-java-home". You can use the gcc.SlackBuild + of Slackware-current which was modified accordingly. + b) or run the script "create_gcj_jvm.sh" to achieve the same result you + would get by rebuilding gcc: which is to create a directory structure + of symlinks, which emulates the presence of a Sun JDK but for the + GCC Java compiler. + +Slackware 13.1 and older: +------------------------- 1) Choose one of these two alternatives for gcc: a) rebuild gcc with "--enable-java-home". You can use the gcc.SlackBuild of Slackware-current which was modified accordingly. @@ -93,16 +112,14 @@ Furthermore, you will need to have the following Apache Ant related packages installed before starting the compilation of OpenJDK. * apache-ant * rhino -* xalan -* xerces Please note that after installing apache-ant you will have to logout and login again to initialize the ANT_HOME environment variable. Only the "rhino" package has to remain on your system in order to *run* OpenJDK. -The other three (apache-ant, xalan and xerces) are only needed during the -compilation and can optionally be removed afterwards (but why should you). +Apache-ant is only needed during the compilation and can optionally be removed +afterwards (but why should you). ============================================================================== -Eric Hameleers <alien at slackware.com>, 25-feb-2012 +Eric Hameleers <alien at slackware.com>, 30-may-2014 |