On 01/13/2015 04:45 PM, mefyl wrote:
On Tuesday 13 January 2015 13:49:29 Akim Demaille wrote:
Le 13 janv. 2015 à 13:42, Vladimir Prus
a écrit : +flags clang-darwing OPTIONS <architecture>arm <address-model>64 : -arch arm64
Isn't darwing a typo?
I took the liberty of fixing that to "darwin" =)
Thanks a lot, works like a charm ! For the record, all you need to add is the SDKROOT so clang finds the iPhone headers:
$ SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk ./b2 -q toolset=clang architecture=arm abi=aapcs address-model=64 binary-format=mach-o [...] $ lipo -info bin.v2/libs/context/build/clang-darwin-4.2.1/release/abi-aapcs/address-model-64/architecture-arm/threading-multi/libboost_context.dylib Non-fat file: bin.v2/libs/context/build/clang-darwin-4.2.1/release/abi-aapcs/address-model-64/architecture-arm/threading-multi/libboost_context.dylib is architecture: arm64
Cool. Could you suggest entire set of -arch options that should be added to clang-darwin.jam? -- Vladimir Prus CodeSourcery / Mentor Embedded http://vladimirprus.com