diff options
author | Mike Pall <mike> | 2015-10-24 19:20:33 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2015-10-24 19:24:53 +0200 |
commit | 1393b2f681df3a71cb381b958e8e3221d2dd427d (patch) | |
tree | b726aec8a63c90ad9e08633337dbee20917b6648 /doc/install.html | |
parent | f416cf6a6439782e4ae7c4b29387d4564bb765db (diff) | |
download | luajit-1393b2f681df3a71cb381b958e8e3221d2dd427d.tar.gz luajit-1393b2f681df3a71cb381b958e8e3221d2dd427d.tar.bz2 luajit-1393b2f681df3a71cb381b958e8e3221d2dd427d.zip |
Update build instructions.
Diffstat (limited to 'doc/install.html')
-rw-r--r-- | doc/install.html | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/doc/install.html b/doc/install.html index 7a878b1c..5dc1289e 100644 --- a/doc/install.html +++ b/doc/install.html | |||
@@ -112,23 +112,23 @@ operating systems, CPUs and compilers: | |||
112 | </tr> | 112 | </tr> |
113 | <tr class="odd separate"> | 113 | <tr class="odd separate"> |
114 | <td class="compatcpu">x86 (32 bit)</td> | 114 | <td class="compatcpu">x86 (32 bit)</td> |
115 | <td class="compatos">GCC 4.x<br>GCC 3.4</td> | 115 | <td class="compatos">GCC 4.x+<br>GCC 3.4</td> |
116 | <td class="compatos">GCC 4.x<br>GCC 3.4</td> | 116 | <td class="compatos">GCC 4.x+<br>GCC 3.4</td> |
117 | <td class="compatos">GCC 4.x<br>GCC 3.4</td> | 117 | <td class="compatos">XCode 5.0+<br>Clang</td> |
118 | <td class="compatos">MSVC, MSVC/EE<br>WinSDK<br>MinGW, Cygwin</td> | 118 | <td class="compatos">MSVC, MSVC/EE<br>WinSDK<br>MinGW, Cygwin</td> |
119 | </tr> | 119 | </tr> |
120 | <tr class="even"> | 120 | <tr class="even"> |
121 | <td class="compatcpu">x64 (64 bit)</td> | 121 | <td class="compatcpu">x64 (64 bit)</td> |
122 | <td class="compatos">GCC 4.x</td> | 122 | <td class="compatos">GCC 4.x+</td> |
123 | <td class="compatos">ORBIS (<a href="#ps4">PS4</a>)</td> | 123 | <td class="compatos">ORBIS (<a href="#ps4">PS4</a>)</td> |
124 | <td class="compatos">GCC 4.x</td> | 124 | <td class="compatos">XCode 5.0+<br>Clang</td> |
125 | <td class="compatos">MSVC + SDK v7.0<br>WinSDK v7.0</td> | 125 | <td class="compatos">MSVC + SDK v7.0<br>WinSDK v7.0</td> |
126 | </tr> | 126 | </tr> |
127 | <tr class="odd"> | 127 | <tr class="odd"> |
128 | <td class="compatcpu"><a href="#cross2">ARMv5+<br>ARM9E+</a></td> | 128 | <td class="compatcpu"><a href="#cross2">ARMv5+<br>ARM9E+</a></td> |
129 | <td class="compatos">GCC 4.2+</td> | 129 | <td class="compatos">GCC 4.2+</td> |
130 | <td class="compatos">GCC 4.2+<br>PSP2 (<a href="#psvita">PS VITA</a>)</td> | 130 | <td class="compatos">GCC 4.2+<br>PSP2 (<a href="#psvita">PS VITA</a>)</td> |
131 | <td class="compatos">GCC 4.2+</td> | 131 | <td class="compatos">XCode 5.0+<br>Clang</td> |
132 | <td class="compatos compatno"> </td> | 132 | <td class="compatos compatno"> </td> |
133 | </tr> | 133 | </tr> |
134 | <tr class="even"> | 134 | <tr class="even"> |
@@ -439,8 +439,7 @@ NDKF="--sysroot $NDK/platforms/android-$NDKABI/arch-x86" | |||
439 | make HOST_CC="gcc -m32" CROSS=$NDKP TARGET_FLAGS="$NDKF" | 439 | make HOST_CC="gcc -m32" CROSS=$NDKP TARGET_FLAGS="$NDKF" |
440 | </pre> | 440 | </pre> |
441 | <p> | 441 | <p> |
442 | You can cross-compile for <b id="ios">iOS 3.0+</b> (iPhone/iPad) using the <a href="http://developer.apple.com/devcenter/ios/index.action"><span class="ext">»</span> iOS SDK</a>. | 442 | You can cross-compile for <b id="ios">iOS 3.0+</b> (iPhone/iPad) using the <a href="http://developer.apple.com/devcenter/ios/index.action"><span class="ext">»</span> iOS SDK</a>: |
443 | The environment variables need to match the iOS SDK version: | ||
444 | </p> | 443 | </p> |
445 | <p style="font-size: 8pt;"> | 444 | <p style="font-size: 8pt;"> |
446 | Note: <b>the JIT compiler is disabled for iOS</b>, because regular iOS Apps | 445 | Note: <b>the JIT compiler is disabled for iOS</b>, because regular iOS Apps |
@@ -450,13 +449,11 @@ much slower than the JIT compiler. Please complain to Apple, not me. | |||
450 | Or use Android. :-p | 449 | Or use Android. :-p |
451 | </p> | 450 | </p> |
452 | <pre class="code"> | 451 | <pre class="code"> |
453 | IXCODE=`xcode-select -print-path` | 452 | ISDKP=$(xcrun --sdk iphoneos --show-sdk-path) |
454 | ISDK=$IXCODE/Platforms/iPhoneOS.platform/Developer | 453 | ICC=$(xcrun --sdk iphoneos --find clang) |
455 | ISDKVER=iPhoneOS6.0.sdk | 454 | ISDKF="-arch armv7 -isysroot $ISDKP" |
456 | ISDKP=$ISDK/usr/bin/ | 455 | make HOST_CC="clang -m32 -arch i386" CROSS="$(dirname $ICC)/" \ |
457 | ISDKF="-arch armv7 -isysroot $ISDK/SDKs/$ISDKVER" | 456 | TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS |
458 | make HOST_CC="gcc -m32 -arch i386" CROSS=$ISDKP TARGET_FLAGS="$ISDKF" \ | ||
459 | TARGET_SYS=iOS | ||
460 | </pre> | 457 | </pre> |
461 | 458 | ||
462 | <h3 id="consoles">Cross-compiling for consoles</h3> | 459 | <h3 id="consoles">Cross-compiling for consoles</h3> |