Boost logo

Boost :

Subject: Re: [boost] toolset=clang-win uses clang-linux-win?
From: Peter Dimov (lists_at_[hidden])
Date: 2018-07-09 12:51:03


degski wrote:

> On 9 July 2018 at 15:35, Peter Dimov via Boost <boost_at_[hidden]>
> wrote:
>
> > because the clang-linux toolset tries to use `ar` and `ranlib` for
> > static libraries, and passes ld-style options to link.exe for DLLs.
>
> That's no problem, you have to pass "clang-cl -fuse-ld=lld -flto=thin
> <rest of options>", ...

Using lld will work for shared but static libraries will still fail.


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