MMTk port to SSCLI -> Documentation -> Building MMTk Transform
This document explains how to build the MMTk Transform tool. MMTk Transform is used when building RMTk to transform the MMTk source code from a Jikes RVM-specific Java dialect to standard Java.
To build MMTk Transform you need the antlr.jar file from ANTLR 2.7.2, Java 2 SDK v1.4 and GNU make. See RMTk Requirements for instructions on installing these.
If the antlr.jar file is not in the antlr-2.7.2 subdirectory of your home directory then set the ANTLR environment variable to the directory the file is in. For example:
The J2SDK environment variable must be set to the installation directory for Java 2 SDK. If you installed the Blackdown Java Development Kit 1.4 as described in RMTk Requirements the command is:
Download mmtktransform20041213.tar.gz (44.6 KiB), the source code for MMTk Transform.
Use the following command to unpack the archive:
tar xzf download_directory/mmtktransform20041213.tar.gz
Run the build shell script from the mmtktransform directory to build MMTk Transform.
Assuming you have just run the commands above, the commands are:
cd mmtktransform ./build
Many messages such as Java HotSpot(TM) Client VM warning: Cannot read /proc/self/stat. will appear on the console, this is normal.
The build will create a Transform.jar file in the mmtktransform directory.
Author: Andrew Gray; Date: 13 December 2004