How to change the default GCC compiler from 4.6 to 4.8 in ndk-build command? I want to use the arm-linux-androideabi-4.8 but by default its arm-linux-androideabi-4.6. Is there any way to do so ??
你可以直接调用ndk-build NDK_TOOLCHAIN_VERSION=4.8
,或者在jni / Application.mk中设置它:
NDK_TOOLCHAIN_VERSION:=4.8
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.