diff options
author | Mike Pall <mike> | 2015-10-24 19:35:30 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2015-10-24 19:35:30 +0200 |
commit | 42b9c98d4211d56c47f8f51fedf4e1420ef2f91f (patch) | |
tree | 7c44d744b507c22b83698b44deeec0e700a0ba29 /doc | |
parent | 3ad77346dfc12a910a806ccf3ec6d54f49d54672 (diff) | |
download | luajit-42b9c98d4211d56c47f8f51fedf4e1420ef2f91f.tar.gz luajit-42b9c98d4211d56c47f8f51fedf4e1420ef2f91f.tar.bz2 luajit-42b9c98d4211d56c47f8f51fedf4e1420ef2f91f.zip |
iOS/ARM64: Add build instructions.
Thanks to Vyacheslav Egorov.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/install.html b/doc/install.html index 68f49d18..d9404b0e 100644 --- a/doc/install.html +++ b/doc/install.html | |||
@@ -452,11 +452,18 @@ much slower than the JIT compiler. Please complain to Apple, not me. | |||
452 | Or use Android. :-p | 452 | Or use Android. :-p |
453 | </p> | 453 | </p> |
454 | <pre class="code"> | 454 | <pre class="code"> |
455 | # iOS/ARM (32 bit) | ||
455 | ISDKP=$(xcrun --sdk iphoneos --show-sdk-path) | 456 | ISDKP=$(xcrun --sdk iphoneos --show-sdk-path) |
456 | ICC=$(xcrun --sdk iphoneos --find clang) | 457 | ICC=$(xcrun --sdk iphoneos --find clang) |
457 | ISDKF="-arch armv7 -isysroot $ISDKP" | 458 | ISDKF="-arch armv7 -isysroot $ISDKP" |
458 | make HOST_CC="clang -m32 -arch i386" CROSS="$(dirname $ICC)/" \ | 459 | make HOST_CC="clang -m32 -arch i386" CROSS="$(dirname $ICC)/" \ |
459 | TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS | 460 | TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS |
461 | |||
462 | # iOS/ARM64 | ||
463 | ISDKP=$(xcrun --sdk iphoneos --show-sdk-path) | ||
464 | ICC=$(xcrun --sdk iphoneos --find clang) | ||
465 | ISDKF="-arch arm64 -isysroot $ISDKP" | ||
466 | make CROSS="$(dirname $ICC)/" TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS | ||
460 | </pre> | 467 | </pre> |
461 | 468 | ||
462 | <h3 id="consoles">Cross-compiling for consoles</h3> | 469 | <h3 id="consoles">Cross-compiling for consoles</h3> |