aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Dubrov <dubrov.ivan@gmail.com>2015-04-01 11:29:53 -0700
committerIvan Dubrov <dubrov.ivan@gmail.com>2015-04-01 11:29:53 -0700
commitbd277ab200f82db55be940167418072b6750e29f (patch)
tree28b4c64a90c6b134bf48e2af47d867e4c178890b
parent53c3f53814ae54b4450fc68f01f1972631eaf9e8 (diff)
downloaddcevm-bd277ab200f82db55be940167418072b6750e29f.tar.gz
dcevm-bd277ab200f82db55be940167418072b6750e29f.zip
Update README.md
-rw-r--r--README.md18
1 files changed, 16 insertions, 2 deletions
diff --git a/README.md b/README.md
index bb7a08be..a83af75a 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,21 @@ You need the following software to build DCEVM:
* Java 7 or later. If you intend to run tests, it should be one of the supported versions (see list of [patches/](patches/))
* C++ compiler toolchain (gcc). There is no strict version requirement except that it should be supported by HotSpot build scripts.
-* Mercurial
+* Mercurial with [Mercurial Queues Extension](mercurial.selenic.com/wiki/MqExtension) enabled.
+
+#### Mac OS X specific requirements
+
+Currently the build is not compatible with Clang on Mac OS X, you need to install gcc 4.8 using the [Homebrew](http://brew.sh/):
+
+* brew tap homebrew/versions
+* brew install gcc48
+
+Then set the following environmental properties:
+
+* export CC=/usr/local/bin/gcc-4.8
+* export CFLAGS=-fobjc-exceptions
+* export CXX=/usr/local/bin/g++-4.8
+* export SA_LDFLAGS=-fobjc-exceptions
### Compiling DCEVM
@@ -30,7 +44,7 @@ You need the following software to build DCEVM:
* Run `./gradlew patch` to retrieve HotSpot sources and patch them.
* Run `./gradlew compileFastdebug` to build `fastdebug` version or `./gradlew compileProduct` to build `product` version.
* Compiled libraries are placed in `hotspot/build/fastdebug` or `hotspot/build/product`.
-*
+
### Installing DCEVM
* Replace `libjvm.so/jvm.dll/libjvm.dylib` in the target JRE.