Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.build] Building for ARM64
From: mefyl (mefyl_at_[hidden])
Date: 2015-01-13 08:45:25


On Tuesday 13 January 2015 13:49:29 Akim Demaille wrote:
> > Le 13 janv. 2015 à 13:42, Vladimir Prus <vladimir_at_[hidden]> 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
$

Thanks a lot !

-- 
Quentin "mefyl" Hocquet
CTO @ infinit.io

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net