search for: ndk_toolchain_version

Displaying 6 results from an estimated 6 matches for "ndk_toolchain_version".

2012 Nov 13
3
[LLVMdev] Clang now included in Android NDK r8c
...e 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 deta...
2012 Nov 14
0
[LLVMdev] Clang now included in Android NDK r8c
...ndroid.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++...
2013 Jun 04
0
[LLVMdev] Address Sanitizer on Android
...Got figured out. I needed to use TARGET_LDFLAGS. LOCAL_LDFLAGS seems to be ignored in my clang build. LOCAL_CFLAGS += -fsanitize=address TARGET_LDFLAGS +=-fsanitize=address -target arm-linux-androideabi And once doing that, I also needed to build against Android API 8 or later: $ ndk-build V=1 NDK_TOOLCHAIN_VERSION=clang3.3 APP_PLATFORM=android-8 -Greg On Tue, Jun 4, 2013 at 11:21 AM, Greg Fitzgerald <garious at gmail.com> wrote: > I have simple standalone ASan examples working on Android, and now I'd > like to try using ASan with the Android build system. I'm building > the release...
2013 Jun 04
2
[LLVMdev] Address Sanitizer on Android
I have simple standalone ASan examples working on Android, and now I'd like to try using ASan with the Android build system. I'm building the release_33 branch of llvm+clang+compiler-rt with CMake. To test, I'm looking at libjpg, because with just a small change its Android.mk it compiles in a few seconds and without needing any additional dependencies. When I run 'djpeg' on
2013 Feb 01
0
[LLVMdev] Clang now included in Android NDK r8c
...ex.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...
2013 Feb 01
0
[LLVMdev] Clang now included in Android NDK r8c
...ges: >>>> >>>> - 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...