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 | |
parent | f416cf6a6439782e4ae7c4b29387d4564bb765db (diff) | |
download | luajit2-1393b2f681df3a71cb381b958e8e3221d2dd427d.tar.gz |
Update build instructions.
-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: </tr> <tr class="odd separate"> <td class="compatcpu">x86 (32 bit)</td> -<td class="compatos">GCC 4.x<br>GCC 3.4</td> -<td class="compatos">GCC 4.x<br>GCC 3.4</td> -<td class="compatos">GCC 4.x<br>GCC 3.4</td> +<td class="compatos">GCC 4.x+<br>GCC 3.4</td> +<td class="compatos">GCC 4.x+<br>GCC 3.4</td> +<td class="compatos">XCode 5.0+<br>Clang</td> <td class="compatos">MSVC, MSVC/EE<br>WinSDK<br>MinGW, Cygwin</td> </tr> <tr class="even"> <td class="compatcpu">x64 (64 bit)</td> -<td class="compatos">GCC 4.x</td> +<td class="compatos">GCC 4.x+</td> <td class="compatos">ORBIS (<a href="#ps4">PS4</a>)</td> -<td class="compatos">GCC 4.x</td> +<td class="compatos">XCode 5.0+<br>Clang</td> <td class="compatos">MSVC + SDK v7.0<br>WinSDK v7.0</td> </tr> <tr class="odd"> <td class="compatcpu"><a href="#cross2">ARMv5+<br>ARM9E+</a></td> <td class="compatos">GCC 4.2+</td> <td class="compatos">GCC 4.2+<br>PSP2 (<a href="#psvita">PS VITA</a>)</td> -<td class="compatos">GCC 4.2+</td> +<td class="compatos">XCode 5.0+<br>Clang</td> <td class="compatos compatno"> </td> </tr> <tr class="even"> @@ -439,8 +439,7 @@ NDKF="--sysroot $NDK/platforms/android-$NDKABI/arch-x86" make HOST_CC="gcc -m32" CROSS=$NDKP TARGET_FLAGS="$NDKF" </pre> <p> -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>. -The environment variables need to match the iOS SDK version: +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>: </p> <p style="font-size: 8pt;"> 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. Or use Android. :-p </p> <pre class="code"> -IXCODE=`xcode-select -print-path` -ISDK=$IXCODE/Platforms/iPhoneOS.platform/Developer -ISDKVER=iPhoneOS6.0.sdk -ISDKP=$ISDK/usr/bin/ -ISDKF="-arch armv7 -isysroot $ISDK/SDKs/$ISDKVER" -make HOST_CC="gcc -m32 -arch i386" CROSS=$ISDKP TARGET_FLAGS="$ISDKF" \ - TARGET_SYS=iOS +ISDKP=$(xcrun --sdk iphoneos --show-sdk-path) +ICC=$(xcrun --sdk iphoneos --find clang) +ISDKF="-arch armv7 -isysroot $ISDKP" +make HOST_CC="clang -m32 -arch i386" CROSS="$(dirname $ICC)/" \ + TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS </pre> <h3 id="consoles">Cross-compiling for consoles</h3> |