I tried this to build 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 command told me that the compiled library is armv6, not armv7 lib!
Could anyone please tell me a boost command line to create a libs with armv7
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 run (to the extent of my knowledge) on armv7 CPUs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With