update README.md with darwin->{macosx,ios} rename

This commit is contained in:
Joshua Warner 2014-06-23 08:19:55 -06:00
parent 9a6f7bd0bf
commit 23f4e4cc71

View File

@ -19,7 +19,7 @@ to use forward slashes in the path.
#### on Mac OS X: #### on Mac OS X:
$ export JAVA_HOME=$(/usr/libexec/java_home) $ export JAVA_HOME=$(/usr/libexec/java_home)
$ make $ make
$ build/darwin-x86_64/avian -cp build/darwin-x86_64/test Hello $ build/macosx-x86_64/avian -cp build/macosx-x86_64/test Hello
#### on Windows (MSYS): #### on Windows (MSYS):
$ git clone git@github.com:ReadyTalk/win64.git ../win64 $ git clone git@github.com:ReadyTalk/win64.git ../win64
@ -85,12 +85,11 @@ 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 \ $ make \
platform={linux,windows,darwin,freebsd} \ platform={linux,windows,macosx,ios,freebsd} \
arch={i386,x86_64,arm} \ arch={i386,x86_64,arm} \
process={compile,interpret} \ process={compile,interpret} \
mode={debug,debug-fast,fast,small} \ mode={debug,debug-fast,fast,small} \
lzma=<lzma source directory> \ lzma=<lzma source directory> \
ios={true,false} \
bootimage={true,false} \ bootimage={true,false} \
heapdump={true,false} \ heapdump={true,false} \
tails={true,false} \ tails={true,false} \
@ -122,13 +121,6 @@ containing a recent LZMA SDK (available [here](http://www.7-zip.org/sdk.html)).
the SDK has been tested, but other versions might work. the SDK has been tested, but other versions might work.
* _default:_ not set * _default:_ not set
* `ios` - if true, cross-compile for iOS on OS X. Note that
non-jailbroken iOS devices do not allow JIT compilation, so only
process=interpret or bootimage=true builds will run on such
devices. See [here](https://github.com/ReadyTalk/hello-ios) for an
example of an Xcode project for iOS which uses Avian.
* _default:_ false
* `armv6` - if true, don't use any instructions newer than armv6. By * `armv6` - if true, don't use any instructions newer than armv6. By
default, we assume the target is armv7 or later, and thus requires explicit default, we assume the target is armv7 or later, and thus requires explicit
memory barrier instructions to ensure cache coherency memory barrier instructions to ensure cache coherency
@ -188,6 +180,12 @@ _build/linux-i386-debug-bootimage_. This allows you to build with
several different sets of options independently and even several different sets of options independently and even
simultaneously without doing a clean build each time. simultaneously without doing a clean build each time.
Note that not all combinations of these flags are valid. For instance,
non-jailbroken iOS devices do not allow JIT compilation, so only
process=interpret or bootimage=true builds will run on such
devices. See [here](https://github.com/ReadyTalk/hello-ios) for an
example of an Xcode project for iOS which uses Avian.
If you are compiling for Windows, you may either cross-compile using If you are compiling for Windows, you may either cross-compile using
MinGW or build natively on Windows under MSYS or Cygwin. MinGW or build natively on Windows under MSYS or Cygwin.