mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
update readme.txt to cover OpenJDK and ARM support
This commit is contained in:
parent
b1b433b63a
commit
d19cab9ac9
33
readme.txt
33
readme.txt
@ -51,7 +51,7 @@ Supported Platforms
|
|||||||
|
|
||||||
Avian can currently target the following platforms:
|
Avian can currently target the following platforms:
|
||||||
|
|
||||||
Linux (i386 and x86_64)
|
Linux (i386, x86_64 and ARM)
|
||||||
Windows (i386 and x86_64)
|
Windows (i386 and x86_64)
|
||||||
Mac OS X (i386, x86_64 and 32-bit PowerPC)
|
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
|
The build is directed by a single makefile and may be influenced via
|
||||||
certain flags described below, all of which are optional.
|
certain flags described below, all of which are optional.
|
||||||
|
|
||||||
$ make platform={linux,windows,darwin} arch={i386,x86_64,powerpc} \
|
$ make \
|
||||||
process={compile,interpret} mode={debug,debug-fast,fast,small} \
|
platform={linux,windows,darwin} \
|
||||||
bootimage={true,false} heapdump={true,false} tails={true,false} \
|
arch={i386,x86_64,powerpc,arm} \
|
||||||
continuations={true,false}
|
process={compile,interpret} \
|
||||||
|
mode={debug,debug-fast,fast,small} \
|
||||||
|
bootimage={true,false} \
|
||||||
|
heapdump={true,false} \
|
||||||
|
tails={true,false} \
|
||||||
|
continuations={true,false} \
|
||||||
|
openjdk=<openjdk installation directory> \
|
||||||
|
openjdk-src=<openjdk source directory>
|
||||||
|
|
||||||
* platform - the target platform
|
* platform - the target platform
|
||||||
default: output of $(uname -s | tr [:upper:] [:lower:]),
|
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.
|
only valid for process=compile builds.
|
||||||
default: false
|
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.
|
These flags determine the name of the directory used for the build.
|
||||||
The name always starts with ${platform}-${arch}, and each non-default
|
The name always starts with ${platform}-${arch}, and each non-default
|
||||||
build option is appended to the name. For example, a debug build with
|
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
|
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
|
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
|
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 <<EOF
|
$ cat >main.cpp <<EOF
|
||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
@ -330,7 +349,7 @@ main(int ac, const char** av)
|
|||||||
JavaVMOption options[vmArgs.nOptions];
|
JavaVMOption options[vmArgs.nOptions];
|
||||||
vmArgs.options = options;
|
vmArgs.options = options;
|
||||||
|
|
||||||
options[0].optionString = const_cast<char*>("-Djava.class.path=[bootJar]");
|
options[0].optionString = const_cast<char*>("-Xbootclasspath:[bootJar]");
|
||||||
|
|
||||||
JavaVM* vm;
|
JavaVM* vm;
|
||||||
void* env;
|
void* env;
|
||||||
|
Loading…
Reference in New Issue
Block a user