Clang now included in Android NDK r8c

Hats off to the Android NDK team!

Important changes:
- Added the Clang 3.1 compiler to the NDK. The GNU Compiler Collection (GCC) 4.6 is still the default, so you must explicitly enable the Clang compiler option as follows: - For `ndk-build`, export `NDK_TOOLCHAIN_VERSION=clang3.1` *or* add this environment variable setting to``. - For standalone builds, add `--llvm-version=3.1` to `` and replace `CC` and`CXX` in your makefile with `/bin/clang` and `/bin/clang++`. See `STANDALONE-TOOLCHAIN.html` for details. **Note:** This feature is experimental. Please try it and [report any issues](

Very nice! I’ll have to give this a try later.

cc +andrewhsieh +loganchien

Hats off to the Android NDK team!

Thanks for including me here, but I’d like to clarify that this is all from the really hard work of Andrew Hsieh and Logan Chien, and a few other Android engineers.

(I’m actually not working on Android anymore, Andrew and Logan have taken over the NDK a year ago, and as you can see, they’ve been very productive :-))

Congrats to them then !

  • David

Kudos to llvm community for delivering such great compiler infrastructure!