Mercurial > hg > truffle
comparison README_GRAAL.txt @ 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 | |
children | 70aaaa83b93a |
comparison
equal
deleted
inserted
replaced
5180:6ab0cd9909b1 | 5181:b97ef124c3ea |
---|---|
1 There is a Python script in graal/mxtool/mx.py that simplifies working with the code | |
2 base. It requires Python 2.7. While you can run this script by using an absolute path, | |
3 it's more convenient to add graal/mxtool to your PATH environment variable so that the | |
4 'mx' helper script can be used. The following instructions in this file assume this | |
5 setup. | |
6 | |
7 Building both the Java and C++ source code comprising the Graal VM | |
8 can be done with the following simple command. | |
9 | |
10 mx build | |
11 | |
12 This builds the 'product' version of HotSpot with the Graal modifications. | |
13 To build the debug or fastdebug versions: | |
14 | |
15 mx build debug | |
16 mx build fastdebug | |
17 | |
18 To run one of the correspong VM instances: | |
19 | |
20 mx --product vm ... | |
21 mx --fastdebug vm ... | |
22 mx --debug vm ... | |
23 | |
24 The default is --product. |