| 1 | OpenJDK 6 for OS/2 and eCS | 
|---|
| 2 |  | 
|---|
| 3 | This document contains information about building the OpenJDK 6 source code on OS/2. | 
|---|
| 4 |  | 
|---|
| 5 | Requirements (draft) | 
|---|
| 6 |  | 
|---|
| 7 | 1a. GCC 4.5.2 (ftp://ftp.netlabs.org/pub/qt4/tools/gcc-4_5_2-complete-20110328.zip) | 
|---|
| 8 | 1b. ILINK 5.0 (ftp://ftp.software.ibm.com/ps/products/warpzilla/ilink50.zip) | 
|---|
| 9 | 2.  Odin32 SDK (take from SVN at http://svn.netlabs.org/repos/odin32/trunk, | 
|---|
| 10 | configure with configure.cmd --use-oldlib) | 
|---|
| 11 | 3a. OpenJDK 1.6.0 Build 19 RC or later (http://svn.netlabs.org/java/) | 
|---|
| 12 | 3b. JAXB 2.1 (http://jaxb.java.net/2.1/JAXB2_20061211.jar, | 
|---|
| 13 | install it with java -jar JAXB2_20061211.jar) | 
|---|
| 14 | 4a. Ant 1.8.1 (http://ant.apache.org/bindownload.cgi) | 
|---|
| 15 | 4b. Patched ant.jar for Ant 1.8.1 (ftp://ftp.netlabs.org/pub/qt4/tmp/ant-1.8.1-patch-os2_cmd_line_length.zip) | 
|---|
| 16 | 5.  Object REXX (can bue turned on system-wide with the standard SWITCHRX.CMD script) | 
|---|
| 17 | 6.  The contents of the j2sdk-image directory of the Windows build of OpenJDK6 | 
|---|
| 18 | (for parts still missing from the OS/2 port) | 
|---|
| 19 |  | 
|---|
| 20 | Copy LocalEnv.tpl.cmd to LocalEnv.cmd and alter according to your environment | 
|---|
| 21 | and then use env.cmd to set it up. | 
|---|
| 22 |  | 
|---|
| 23 | Note that you must set the linker type to "VAC308" in gcc452.cmd and make sure | 
|---|
| 24 | that you have ILINK.EXE somewhere in PATH (by default, gcc452.cmd is set to | 
|---|
| 25 | "WLINK" but the latest HLL-enabled version of it is bogus: it creates wrong | 
|---|
| 26 | internal fixups when building the release version of AWT.DLL). Note that the | 
|---|
| 27 | original ILINK from VAC308 is bogus too (will crash when linking a debug version | 
|---|
| 28 | of JVM.DLL) so it should not be used. Note that ILINK 5.0 is also bogus (it | 
|---|
| 29 | fails if there is too much external symbols to export) but Java doesn't hit this | 
|---|
| 30 | limit so it's the best choice so far. | 
|---|
| 31 |  | 
|---|
| 32 | It is recommended to download ftp://ftp.netlabs.org/pub/qt4/tools/se12.zip to | 
|---|
| 33 | have env.cmd called automatically whenever you enter "se something" in any | 
|---|
| 34 | directory inside the project root. | 
|---|
| 35 |  | 
|---|
| 36 | See http://svn.netlabs.org/java for more details. | 
|---|
| 37 |  | 
|---|