Hi All, When I compile for Neon, I am supposed to specify and architecture (https://android.googlesource.com/platform/ndk/+/ics-mr0/docs/STANDALONE-TOOLCHAIN.html):
cryptopp$ make arm-linux-androideabi-g++ -DNDEBUG -g -O2 -fPIC -pipe -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/android-ndk-r8e//platforms/android-14/arch-arm -I/opt/android-ndk-r8e//sources/cxx-stl/stlport/stlport/ -DCRYPTOPP_DISABLE_ASM=1 -DCRYPTOPP_DISABLE_SSE2=1 -c 3way.cpp arm-linux-androideabi-g++ -DNDEBUG -g -O2 -fPIC -pipe -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/android-ndk-r8e//platforms/android-14/arch-arm -I/opt/android-ndk-r8e//sources/cxx-stl/stlport/stlport/ -DCRYPTOPP_DISABLE_ASM=1 -DCRYPTOPP_DISABLE_SSE2=1 -c adler32.cpp However, if I build for non-Neon and specify -march=armv7, then I receive an error: cryptopp$ make arm-linux-androideabi-g++ -DNDEBUG -g -O2 -fPIC -pipe -march=armv7 --sysroot=/opt/android-ndk-r8e//platforms/android-14/arch-arm -I/opt/android-ndk-r8e//sources/cxx-stl/stlport/stlport/ -DCRYPTOPP_DISABLE_ASM=1 -DCRYPTOPP_DISABLE_SSE2=1 -c algparam.cpp algparam.cpp:1:0: error: target CPU does not support ARM mode make: *** [algparam.o] Error 1 Would anyone know what architectures are supported; and the rules for architecture options? Jeff -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+unsubscr...@googlegroups.com. To post to this group, send email to android-security-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/android-security-discuss. For more options, visit https://groups.google.com/groups/opt_out.