Skip to content

android NDK 交叉编译

cheyiliu edited this page Nov 10, 2014 · 2 revisions

#1.安装ndk stand alone 模式 ~/android-ndk-r9$ ./build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=/home/housy/ndk-cross/

#2.env export PATH=/home/housy/ndk-cross/bin/:$PATH

#3.configure ./configure CC=arm-linux-androideabi-gcc --host=arm-linux

#4.make make

Clone this wiki locally