An Android application wrapper for Pooler's CPUMiner
To compile libcurl, you first need a standalone Android NDK toolchain. Thiscan be built using the make-standalone-toolchain.sh script in build/tools.Here I'm going to assume we're putting the standalone toolchain in /opt/.
# Setup destination directorysudo mkdir -p /opt/android-ndk-r9d/arm/sudo mkdir -p /opt/android-ndk-r9d/mips/sudo mkdir -p /opt/android-ndk-r9d/x86/# Get Android NDKcurl -O http://dl.google.com/android/ndk/android-ndk-r9d-darwin-x86_64.tar.bz2tar -xvf android-ndk-r9d-darwin-x86_64.tar.bz2cd android-ndk-r9d# Build standalone NDKcd build/toolssudo ./make-standalone-toolchain.sh --ndk-dir=../../ --install-dir=/opt/android-ndk-r9d/arm/ --verbose --system=darwin-x86_64sudo ./make-standalone-toolchain.sh --arch=mips --ndk-dir=../../ --install-dir=/opt/android-ndk-r9d/mips/ --verbose --system=darwin-x86_64sudo ./make-standalone-toolchain.sh --arch=x86 --ndk-dir=../../ --install-dir=/opt/android-ndk-r9d/x86/ --verbose --system=darwin-x86_64
Once you have the standalone NDK toolchain, you need to download and extractthe source for libcurl.
# Get libcurl sourcecurl -O http://curl.haxx.se/download/curl-7.35.0.tar.bz2tar -xvf curl-7.35.0.tar.bz2
The last step is to use the included build-libcurl.sh script to compile libcurland move the compiled library into the project.
./build-libcurl.sh [path to libcurl]