aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Pall <mike>2015-10-24 19:35:30 +0200
committerMike Pall <mike>2015-10-24 19:35:30 +0200
commit42b9c98d4211d56c47f8f51fedf4e1420ef2f91f (patch)
tree7c44d744b507c22b83698b44deeec0e700a0ba29 /doc
parent3ad77346dfc12a910a806ccf3ec6d54f49d54672 (diff)
downloadluajit-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.html7
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.
452Or use Android. :-p 452Or use Android. :-p
453</p> 453</p>
454<pre class="code"> 454<pre class="code">
455# iOS/ARM (32 bit)
455ISDKP=$(xcrun --sdk iphoneos --show-sdk-path) 456ISDKP=$(xcrun --sdk iphoneos --show-sdk-path)
456ICC=$(xcrun --sdk iphoneos --find clang) 457ICC=$(xcrun --sdk iphoneos --find clang)
457ISDKF="-arch armv7 -isysroot $ISDKP" 458ISDKF="-arch armv7 -isysroot $ISDKP"
458make HOST_CC="clang -m32 -arch i386" CROSS="$(dirname $ICC)/" \ 459make 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
463ISDKP=$(xcrun --sdk iphoneos --show-sdk-path)
464ICC=$(xcrun --sdk iphoneos --find clang)
465ISDKF="-arch arm64 -isysroot $ISDKP"
466make 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>