Mercurial > hg > openjdk6-mips
view README @ 40:76218a369227 default tip
Disable output in JVM_handle_linux_signal with the product version.
author | Ao Qi <aoqi@loongson.cn> |
---|---|
date | Tue, 30 Nov 2010 10:23:02 +0800 |
parents | f4c60f770c45 |
children |
line wrap: on
line source
README: This file should be located at the top of the OpenJDK Mercurial repository forest. This top or enclosing repository will include a "make" directory, and a Makefile at the very top of the repository. It should also include the 6 repositories: "jdk", "hotspot", "langtools", "corba", "jaxws" and "jaxp". See http://openjdk.java.net/ for more information about the OpenJDK. See http://icedtea.classpath.org/wiki/MIPSPort for more information about the OpenJDK MIPS Port. Simple Build Instructions: 1. Download and install a JDK 6 from http://java.sun.com/javase/downloads/index.jsp Set the environment variable ALT_BOOTDIR to the location of this JDK 6. If using Debian: apt-get install openjdk-6-jdk export ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk 2. Set other environment variables. If using Debian: source env.sh Check the sanity of doing a build with the current machine: gnumake sanity See README-builds.html if you run into problems. 3. Do a complete build of the jdk: gnumake all When building jaxp, it seems a bug that jdk6-jaxp-2009_10_13.zip cannot be downloaded. The workaround is to download it by "wget ", and set ALT_DROPS_DIR to the dir where the zip is: export ALT_DROPS_DIR=~/zip_dir The resulting JDK image should be found in build/*/j2sdk-image 5. By setting the environment variables below, components can be built separately. For example: export BUILD_HOTSPOT=true export BUILD_LANGTOOLS=false export BUILD_CORBA=false export BUILD_JAXP=false export BUILD_JAXWS=false export BUILD_JDK=false export BUILD_DEPLOY=false 6. The default hotspot-build is all_product. Set DEBUG_NAME would change the target: export DEBUG_NAME=debug where gnumake is GNU make 3.78.1 or newer, /usr/bin/make on Linux and /usr/sfw/bin/gmake or /opt/sfw/bin/gmake on Solaris.