mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-14 16:57:54 +00:00
build environmnt for armv7
This commit is contained in:
parent
505a70ca40
commit
5d30133034
16
android/env_armv7.sh
Normal file
16
android/env_armv7.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
export NDK_PATH=/path/to/ndk # you must edit this path !!!
|
||||||
|
|
||||||
|
export ANDROID_DEV=$NDK_PATH/platforms/android-9/arch-arm/usr
|
||||||
|
export AR=$NDK_PATH/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar
|
||||||
|
export AS=$NDK_PATH/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-as
|
||||||
|
export CC=$NDK_PATH/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
|
||||||
|
export CFLAGS=--sysroot=$NDK_PATH/platforms/android-9/arch-arm/
|
||||||
|
export CPP=$NDK_PATH/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-cpp
|
||||||
|
export CPPFLAGS=--sysroot=$NDK_PATH/platforms/android-9/arch-arm/
|
||||||
|
export CXX=$NDK_PATH/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++
|
||||||
|
export CXXFLAGS="--sysroot=$NDK_PATH/platforms/android-9/arch-arm/ -I$NDK_PATH/sources/cxx-stl/gnu-libstdc++/4.9/include -I$NDK_PATH/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include"
|
||||||
|
export LD=$NDK_PATH/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld
|
||||||
|
export NDK_PROJECT_PATH=$NDK_PATH
|
||||||
|
export RANLIB=$NDK_PATH/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib
|
||||||
|
export PATH=$NDK_PATH/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/:$PATH
|
||||||
|
|
Loading…
Reference in New Issue
Block a user