Mercurial > hg > truffle
changeset 5181:b97ef124c3ea
added README_GRAAL.txt with simple build instructions
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 02 Apr 2012 11:39:32 +0200 |
parents | 6ab0cd9909b1 |
children | 70aaaa83b93a |
files | README_GRAAL.txt |
diffstat | 1 files changed, 24 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README_GRAAL.txt Mon Apr 02 11:39:32 2012 +0200 @@ -0,0 +1,24 @@ +There is a Python script in graal/mxtool/mx.py that simplifies working with the code +base. It requires Python 2.7. While you can run this script by using an absolute path, +it's more convenient to add graal/mxtool to your PATH environment variable so that the +'mx' helper script can be used. The following instructions in this file assume this +setup. + +Building both the Java and C++ source code comprising the Graal VM +can be done with the following simple command. + + mx build + +This builds the 'product' version of HotSpot with the Graal modifications. +To build the debug or fastdebug versions: + + mx build debug + mx build fastdebug + +To run one of the correspong VM instances: + + mx --product vm ... + mx --fastdebug vm ... + mx --debug vm ... + +The default is --product. \ No newline at end of file