diff options
author | Mike Pall <mike> | 2012-10-15 01:09:56 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-10-15 01:09:56 +0200 |
commit | 6d3623485678fb7de85e031a650cce57e29bf4eb (patch) | |
tree | abfe45d967f8b497079c9fd070d69e7470b2eed7 /doc | |
parent | c25d4daaa5e8377aafe06e9f43c520d06e8e3e8e (diff) | |
download | luajit-6d3623485678fb7de85e031a650cce57e29bf4eb.tar.gz luajit-6d3623485678fb7de85e031a650cce57e29bf4eb.tar.bz2 luajit-6d3623485678fb7de85e031a650cce57e29bf4eb.zip |
Update Android install docs.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/install.html b/doc/install.html index cbf33f6c..ab2cdda5 100644 --- a/doc/install.html +++ b/doc/install.html | |||
@@ -407,15 +407,18 @@ make HOST_CC="gcc -m32" CROSS=mipsel-linux- | |||
407 | <p> | 407 | <p> |
408 | You can cross-compile for <b id="android">Android (ARM)</b> using the <a href="http://developer.android.com/sdk/ndk/index.html"><span class="ext">»</span> Android NDK</a>. | 408 | You can cross-compile for <b id="android">Android (ARM)</b> using the <a href="http://developer.android.com/sdk/ndk/index.html"><span class="ext">»</span> Android NDK</a>. |
409 | The environment variables need to match the install locations and the | 409 | The environment variables need to match the install locations and the |
410 | desired target platform. E.g. Android 2.2 corresponds to ABI level 8: | 410 | desired target platform. E.g. Android 4.0 corresponds to ABI level 14. |
411 | For details check the files <tt>docs/STANDALONE-TOOLCHAIN.html</tt> and | ||
412 | <tt>docs/STABLE-APIS.html</tt> in the NDK directory. | ||
411 | </p> | 413 | </p> |
412 | <pre class="code"> | 414 | <pre class="code"> |
413 | NDK=/opt/android/ndk | 415 | NDK=/opt/android/ndk |
414 | NDKABI=8 | 416 | NDKABI=14 |
415 | NDKVER=$NDK/toolchains/arm-linux-androideabi-4.4.3 | 417 | NDKVER=$NDK/toolchains/arm-linux-androideabi-4.6 |
416 | NDKP=$NDKVER/prebuilt/linux-x86/bin/arm-linux-androideabi- | 418 | NDKP=$NDKVER/prebuilt/linux-x86/bin/arm-linux-androideabi- |
419 | NDKARCH="-march=armv7-a -mfloat-abi=softfp -Wl,--fix-cortex-a8" | ||
417 | NDKF="--sysroot $NDK/platforms/android-$NDKABI/arch-arm" | 420 | NDKF="--sysroot $NDK/platforms/android-$NDKABI/arch-arm" |
418 | make HOST_CC="gcc -m32" CROSS=$NDKP TARGET_FLAGS="$NDKF" | 421 | make HOST_CC="gcc -m32" CROSS=$NDKP TARGET_FLAGS="$NDKF $NDKARCH" |
419 | </pre> | 422 | </pre> |
420 | <p> | 423 | <p> |
421 | 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>. | 424 | 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>. |