nuclear@0: Setup instructions nuclear@0: ------------------ nuclear@0: $NDK/build/tools/make-standalone-toolchain.sh \ nuclear@0: --platform=android-21 --arch=arm \ nuclear@0: --install-dir=$HOME/devel/ndk-toolchain nuclear@0: nuclear@0: export PATH=$HOME/devel/ndk-toolchain/bin nuclear@0: export CC=arm-linux-androideabi-gcc nuclear@0: nuclear@0: * use -mthumb (so says the doc) nuclear@0: * use LDFLAGS -Wl,--fix-cortex-a8 nuclear@0: * use LDFLAGS -lstdc++ to statically link the GNU C++ library nuclear@0: * for armeabi-v7a ABI: -march=armv7-a -mfloat-abi=softfp nuclear@0: * for neon: -march=arm7-a -mfloat-abi=softfp -mfpu=neon