Increase armv7 build

I tried this to create armv7 boost libs:

./bjam toolset=darwin cflags="-fvisibility=default" architecture=arm target-os=iphone macosx-version=iphone-4.1 link=static threading=multi define=_LITTLE_ENDIAN include=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/usr/include/c++/4.2.1/armv7-apple-darwin10 --with-thread --with-date_time

But the lipo -info team informed me that the compiled library is armv6, not armv7 lib!

Can someone please tell me the forced command line to create libs with armv7

+3
source share
1 answer

Pass the "-arch armv7" flag to the compiler. In your example, setting architecture = armv7 should probably do the trick.

In any case, armv6 executables can always be executed (within my knowledge) on armv7 processors.

+2
source

Source: https://habr.com/ru/post/1790087/


All Articles