diff options
Diffstat (limited to 'doc/install.html')
-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> |