Lines Matching +full:arm +full:- +full:linux +full:- +full:androideabi
3 # In order to cross-compile node for Android using NDK, run:
4 # source android-configure <path_to_ndk> [arch]
6 # By running android-configure with source, will allow environment variables to
11 if [ $# -ne 3 ]; then
20 if [ $ANDROID_SDK_VERSION -lt 23 ]; then
27 arm)
28 DEST_CPU="arm"
29 TOOLCHAIN_NAME="armv7-linux-androideabi"
33 TOOLCHAIN_NAME="i686-linux-android"
37 TOOLCHAIN_NAME="x86_64-linux-android"
42 TOOLCHAIN_NAME="aarch64-linux-android"
51 HOST_OS="linux"
53 export CC_host=$(command -v gcc)
54 export CXX_host=$(command -v g++)
56 host_gcc_version=$($CC_host --version | grep gcc | awk '{print $NF}')
57 major=$(echo $host_gcc_version | awk -F . '{print $1}')
58 minor=$(echo $host_gcc_version | awk -F . '{print $2}')
59 if [ -z $major ] || [ -z $minor ] || [ $major -lt 6 ] || ( [ $major -eq 6 ] && [ $minor -lt 3 ] ); …
65 TOOLCHAIN=$NDK_PATH/toolchains/llvm/prebuilt/$HOST_OS-$HOST_ARCH
68 export CC=$TOOLCHAIN/bin/$SUFFIX-clang
69 export CXX=$TOOLCHAIN/bin/$SUFFIX-clang++
78 if [ -f "configure" ]; then
80 --dest-cpu=$DEST_CPU \
81 --dest-os=android \
82 --without-snapshot \
83 --openssl-no-asm \
84 --cross-compiling