debugUnsigned|arm64-v8a :-- Check for working C compiler: /opt/android-dev/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/a7970c5b-1a2c-4c17-b22f-c25450b91bb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, NDK API level is minSdkVersion (or the lowest available API level for the architecture, if minSdkVersion is below it; 21 is the oldest API level that supports arm64). The 21 in the compiler triple is the API level.
On Thu, Mar 28, 2019, 08:22 Chris Browet <christi...@gmail.com> wrote:
--Hi,I'm adjusting my builds to NDK 19 and the deprecation of the toolchains, and I come to realize that I have no clue which NDK API gradle is using to build app.Even building in verbose doesn't make it clear.A warning sign came when I sawdebugUnsigned|arm64-v8a :-- Check for working C compiler: /opt/android-dev/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- worksin my logs, where I would be expecting something like "/opt/android-dev/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang".It is quite important (I think) when it come to linking the proper versions of libandroid and libmediandk.Is it somehow automagically deduced from minSdkVersion of build.gradle, or... ?What is "/opt/android-dev/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang" vs., e.g., "/opt/android-dev/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang"?Thanks
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to andro...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/49633c59-8f6b-46c2-93f0-8af45063a4eb%40googlegroups.com.
The non-prefixed Clang is the actual Clang. Clang is a cross-compiler by default. The prefixed Clangs are the wrappers (if you inspect them, you'll see that they're shell/batch scripts that invoke the real Clang) that select the correct target triple to aid tools like autoconf that aren't set up to pass --target explicitly.