Boost logo

Boost :

Subject: Re: [boost] toolset=clang-win uses clang-linux-win?
From: degski (degski_at_[hidden])
Date: 2018-07-09 12:47:23


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>", this way it will use lld and all the rest [this does not work
in the VS IDE, though].

degski

-- 
*"If something cannot go on forever, it will stop" - Herbert Stein*

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