Android NDK compile gmp library
How to compile GMP for android ndk as a static or shared library that I can reuse in my projects/ I don't know if GMP use autoconf but if it does then you can try the following: you will need to follow instruction android-ndk-r6/docs/STANDALONE-TOOLCHAIN.html 3/ Invoking the compiler (the easy way) Assuming that you have defined $NDKROOT to point to root of NDK $NDKROOT/build/tools/make-standalone-toolchain.sh --platform=android-9 --install-dir=$NDKROOT/android_armeabi export CC="$NDKROOT/android_armeabi/bin/arm-linux-androideabi-gcc --sysroot=$NDKROOT/android_armeabi/sysroot" export CXX="