gavinpugh / vs-android

Integrated development of Android NDK C/C++ software with Microsoft Visual Studio.
Other
120 stars 34 forks source link

does not correctly set architecure #123

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I set target architecture Armv7-a but in command line of compiler there are no 
"-march=armv7-a" flag. Also I see
-D"__ARM_ARCH_7__" -D"__ARM_ARCH_7A__" -D"__ARM_ARCH_5__" -D"__ARM_ARCH_5T__" 
-D"__ARM_ARCH_5E__" -D"__ARM_ARCH_5TE__" 
And it is strange because why defines for arm architecture 5 is defined.

Original issue reported on code.google.com by SergeySo...@gmail.com on 22 Jul 2014 at 8:30

GoogleCodeExporter commented 9 years ago
Those defines are not mutually exclusive, the arm5 ones are set for arm7 builds 
even when you're using Google's "ndk-build" method. (at least this was the case 
when I first wrote vs-android).

I'll keep this issue open to look at the -march flag. I've not heard of any 
issues with this, but I'll check next time I release a version.

Original comment by gavin.dj.pugh on 9 Feb 2015 at 8:35