cc +andrewhsieh +loganchienOn Tue, Nov 13, 2012 at 11:21 PM, Joe Abbey <jab...@arxan.com> wrote:
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 !- Davidhttp://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, exportNDK_TOOLCHAIN_VERSION=clang3.1or add this environment variable setting toApplication.mk.- For standalone builds, add
--llvm-version=3.1tomake-standalone-toolchain.shand replaceCCandCXXin your makefile with<tool-path>/bin/clangand<tool-path>/bin/clang++. SeeSTANDALONE-TOOLCHAIN.htmlfor details.
Note: This feature is experimental. Please try it and report any issues.Joejab...@arxan.com www.arxan.com______________________________Joe AbbeyDirector of Software DevelopmentArxan TechnologiesProtecting the App Economy™
_______________________________________________
LLVM Developers mailing list
LLV...@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
You mean llvm-config? It was deleted after the build. You can modify our build script build-llvm.sh to get it back.Clang/llvm-3.2 will be available in the next NDK release. There is no plan to align release between NDK and the one in Chromium.You can rebuild it from source. Assuming $AOSP points to your android tree.export NDK=$AOSP/ndkcd $NDK./build/tools/download-toolchain-sources.sh /tmp/ndk-$USER/src./build/tools/build-llvm.sh /tmp/ndk-$USER/src $NDK --package-dir=/tmp/ndk-$USER/prebuilt llvm-3.2 --try-64If you have lots of machine cycle to spare, you can rebuild the whole NDK package including clang-3.1 and clang-3.2sudo apt-get install texinfo gcc-mingw32 wine bison flex dmake./build/tools/make-release.sh --force --also-64
--
Thanks,Andrew