ndktest

diff README @ 0:1310df7cdf25

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 23 Apr 2015 20:54:02 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/README	Thu Apr 23 20:54:02 2015 +0300
     1.3 @@ -0,0 +1,14 @@
     1.4 +Setup instructions
     1.5 +------------------
     1.6 +$NDK/build/tools/make-standalone-toolchain.sh \
     1.7 +	--platform=android-21 --arch=arm \
     1.8 +	--install-dir=$HOME/devel/ndk-toolchain
     1.9 +
    1.10 +export PATH=$HOME/devel/ndk-toolchain/bin
    1.11 +export CC=arm-linux-androideabi-gcc
    1.12 +
    1.13 + * use -mthumb (so says the doc)
    1.14 + * use LDFLAGS -Wl,--fix-cortex-a8
    1.15 + * use LDFLAGS -lstdc++ to statically link the GNU C++ library
    1.16 + * for armeabi-v7a ABI: -march=armv7-a -mfloat-abi=softfp
    1.17 + * for neon: -march=arm7-a -mfloat-abi=softfp -mfpu=neon