[LLVMdev] Clang now included in Android NDK r8c
Joe Abbey
jabbey at arxan.com
Tue Nov 13 14:21:15 PST 2012
Hats off to the Android NDK team!
http://developer.android.com/tools/sdk/ndk/index.html
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 toApplication.mk.
* For standalone builds, add --llvm-version=3.1 to make-standalone-toolchain.sh and replace CC andCXX in your makefile with <tool-path>/bin/clang and <tool-path>/bin/clang++. See STANDALONE-TOOLCHAIN.html for details.
Note: This feature is experimental. Please try it and report any issues<http://code.google.com/p/android/issues/list>.
Joe
______________________________
Joe Abbey
Director of Software Development
Arxan Technologies
jabbey at arxan.com<mailto:jabbey at arxan.com> www.arxan.com<http://www.arxan.com/>
Protecting the App Economy™
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121113/f598b822/attachment.html>
More information about the llvm-dev
mailing list