From d19cab9ac91522a3ab0dee6e6e486652af21fbdc Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sun, 5 Dec 2010 17:38:10 -0700 Subject: [PATCH] update readme.txt to cover OpenJDK and ARM support --- readme.txt | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/readme.txt b/readme.txt index 18cdf325dd..e826ba97e3 100644 --- a/readme.txt +++ b/readme.txt @@ -51,7 +51,7 @@ Supported Platforms Avian can currently target the following platforms: - Linux (i386 and x86_64) + Linux (i386, x86_64 and ARM) Windows (i386 and x86_64) Mac OS X (i386, x86_64 and 32-bit PowerPC) @@ -73,10 +73,17 @@ been tested. The build is directed by a single makefile and may be influenced via certain flags described below, all of which are optional. - $ make platform={linux,windows,darwin} arch={i386,x86_64,powerpc} \ - process={compile,interpret} mode={debug,debug-fast,fast,small} \ - bootimage={true,false} heapdump={true,false} tails={true,false} \ - continuations={true,false} + $ make \ + platform={linux,windows,darwin} \ + arch={i386,x86_64,powerpc,arm} \ + process={compile,interpret} \ + mode={debug,debug-fast,fast,small} \ + bootimage={true,false} \ + heapdump={true,false} \ + tails={true,false} \ + continuations={true,false} \ + openjdk= \ + openjdk-src= * platform - the target platform default: output of $(uname -s | tr [:upper:] [:lower:]), @@ -119,6 +126,18 @@ certain flags described below, all of which are optional. only valid for process=compile builds. default: false + * openjdk - if set, use OpenJDK class library instead of the default + Avian class library. See "Building with the OpenJDK Class + Library" below for details. + default: not set + + * openjdk-src - if this and the openjdk option above are both set, + build an embeddable VM using the OpenJDK class library. The JNI + components of the OpenJDK class library will be built from the + sources found under the specified directory. See "Building with + the OpenJDK Class Library" below for details. + default: not set + These flags determine the name of the directory used for the build. The name always starts with ${platform}-${arch}, and each non-default build option is appended to the name. For example, a debug build with @@ -291,7 +310,7 @@ Step 3: Make an object file out of the jar. Step 4: Write a driver which starts the VM and runs the desired main method. Note the bootJar function, which will be called by the VM to get a handle to the embedded jar. We tell the VM about this jar by -setting the classpath to "[bootJar]". +setting the boot classpath to "[bootJar]". $ cat >main.cpp <("-Djava.class.path=[bootJar]"); + options[0].optionString = const_cast("-Xbootclasspath:[bootJar]"); JavaVM* vm; void* env;