Boost logo

Boost :

Subject: Re: [boost] Please advise: Boost with LLVM Clang and 0x11 dialect ?
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2012-03-24 11:57:31


On 3/21/2012 1:46 PM, Steve Ramsey wrote:
> It's not an automatic process, but once the initial effort is spent, it works beautifully. I should point out that I use both C++11 and libc++, and I ended up making a number of changes to boost build files to get various features working. The biggest problem is the lack of support in tools/build/v2/tools/clang-darwin.jam for specifying the SDK/platform for cross-compiling. My solution since boost 1.47 has been to replace it with a modified copy of tools/build/v2/tools/darwin.jam; if I thought this was going to be an issue for anywhere near as long as it has, I would've sent in a patch half a year ago (aside: do any of the maintainers actually use boost on OS X?). An additional complication is that as of Xcode 4.3, variant toolchains are stored in a different location and use a slightly di
> fferent directory structure; a nice solution would be to support a build feature to indicate this and respond accordingly; I just hardcode for Xcode 4.3+.
>
> I'm happy to send you diffs off-list if you're interested, but it's frankenhacks all the way down until I get around to making a clean patch file for clang-darwin.jam.
>
> Steve

Many thanks for your reply and help, and for your efforts to getting this integrated
cleanly into future distributions.

—John


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk