Dear all,
I want to use this compiler for Android NDK r9 (I had installed it). So I did the following steps but it did not work, could you help me?
1. Because Android NDK r9 do not need Cygwin but LLVM compiler need, I downloaded and installed the newest version of Cygwin (I have VC2010).
2. I copied and pasted all files to "C:/android-ndk/toolchains/"
Now I have C:\android-ndk\toolchains\arm-linux-androideabi-snapdragonclang3.3\...
3. I added two lines to the top of my "Application.mk"
NDK_TOOLCHAIN_VERSION=snapdragonclang3.3
SNAPDRAGON_LLVM_PATH=C:/android-ndk/toolchains/arm-linux-androideabi-snapdragonclang3.3/Snapdragon_LLVM_for_Android_3.3/bin
4. I modified my Android.mk
LOCAL_ARM_MODE := arm
LOCAL_ARM_NEON := true
LOCAL_CFLAGS += -Ofast -mcpu=krait2 -marm \
-Wreturn-type -Wimplicit-function-declaration -Wcast-align
LOCAL_CPPFLAGS += -std=c++11 \
-Ofast -mcpu=krait2 -marm \
-Wreturn-type -Wimplicit-function-declaration -Wcast-align
LOCAL_SRC_FILES := test1.c.arm.neon test2.cpp.arm.neon
... ...
Unfortunately, it does not work...
I trace the error message:
process_begin: CreateProcess(NULL,
bash C:\android-ndk\toolchains\arm-linux-androideabi-snapdragonclang3.3\snapdragon-clang++
-MMD -MP -MF
./obj/local/armeabi-v7a/objs/myTest/myTest.o.d
-gcc-toolchain
C:/android-ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64
-fpic
-ffunction-sections
....
I think I may miss some steps or I have misunderstandings, but "readme-install.pdf" really does not provide much information... ...
Please help me use this compiler then achieve the fastest performance of my app.
Thank you very much!
Cathy
I do a further test but it is still failed.
I directly copy the whole folder to toolchains, now I have
C:\android-ndk\toolchains\arm-linux-androideabi-snapdragonclang3.3
it shows different error message...
Please help me delete my last reply (further test with different error messages)....
Please... it contains some my private information... Please....
Thank you.
No anyone can help me delete my private message?
Cannot I edit or delete my comment?
Anyone can help me?