|
Boost : |
Subject: Re: [boost] Boost.Build and Microsoft C2 clang
From: Tom Westerhout (kot.tom97_at_[hidden])
Date: 2017-06-27 12:33:33
On 27/06/2017, Andrey Semashev via Boost <boost_at_[hidden]> wrote:
> On 06/27/17 14:40, Peter Dimov via Boost wrote:
>> No idea. I think that this worked before, an update to VS 2017 probably
>> broke it.
>
> Looks more like it fixed it. Your version seems newer than what Tom
> quoted.
Indeed, LLVM's code Peter gave a link to looks right too.
On 27/06/2017, Peter Dimov via Boost <boost_at_[hidden]> wrote:
> The plain -fuse-ld=link.exe kind of works now (it didn't before.) There
> are other problems however, exceptions are off for some reason.
OK, no idea why, but this solves the problem. With ClangC2 I need to call
vcvarsall anyway (Boost.Build doesn't do it, because it thinks we're on
linux), so link.exe is on the PATH.
Thanks a lot!
By the way, should I maybe submit a feature request to Boost.Build to add
a clang-c2.jam? clang.jam currently dispatches between clang-darwin.jam
and clang-linux.jam, so it should be easy to add support for clang-c2.jam.
I don't yet feel competent enough with BB to implement it myself though.
Does anyone else want this functionality?
Tom
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk