Skip to content
Discussion options

You must be logged in to vote

等这个 patch

xmake f -p android --ndk=~/Downloads/android-ndk-r14b/ --toolchain=ndk[gcc] -c

or

set_toolchains("ndk[gcc]")
set_toolchains("ndk", {gcc = true})

#6924

ruki:test ruki$ xmake f -p android --ndk=~/Downloads/android-ndk-r14b/ --toolchain=ndk[gcc] -c; xmake -rv
checking for architecture ... armeabi-v7a
checking for NDK directory ... /Users/ruki/Downloads/android-ndk-r14b
checking for SDK version of NDK ... 16
checking for arm-linux-androideabi-g++ ... /Users/ruki/Downloads/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++
checking for the shared library linker (sh) ... arm-linux-androideabi-g++
checking for arm-linux-androideab…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@waruqi
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Cillo-x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants