NDK (Native Develop Toolkit) is a toolchain from Android official, originally for users who writes native C/C++ code as JNI library . It’s not designed for compiling standalone programs (./a. out) and not compatible with automake/cmake etc.
Read moreDoes Android use LLVM?
For Android NDK, llvm became the default toolchain since r13b and gcc was removed since r18b . According to toolchains directory toolchains/llvm/prebuilt/darwin-x86_64 , llvm supports all the ABIs, i.e. x86, x86_64, arm, arm64.
Read more