ndktest

view README @ 1:fe78cf853157

fixed the build files
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 24 Apr 2015 03:20:17 +0300
parents
children
line source
1 Setup instructions
2 ------------------
3 $NDK/build/tools/make-standalone-toolchain.sh \
4 --platform=android-21 --arch=arm \
5 --install-dir=$HOME/devel/ndk-toolchain
7 export PATH=$HOME/devel/ndk-toolchain/bin
8 export CC=arm-linux-androideabi-gcc
10 * use -mthumb (so says the doc)
11 * use LDFLAGS -Wl,--fix-cortex-a8
12 * use LDFLAGS -lstdc++ to statically link the GNU C++ library
13 * for armeabi-v7a ABI: -march=armv7-a -mfloat-abi=softfp
14 * for neon: -march=arm7-a -mfloat-abi=softfp -mfpu=neon