Boost logo

Boost :

Subject: Re: [boost] clang-win, again
From: Peter Dimov (lists_at_[hidden])
Date: 2018-10-30 15:17:31


> If you are able to build all, correctly, ...

I can, but I don't use lld or thin-lto.

> I would like to build static libs, x64, statically linked
> with/instrumented for lld and thin-lto, optimized for broadwell (release
> and debug).

That's a bit odd because clang-win is basically clang-cl.exe, which is the
cl.exe-compatible driver, and you'll be trying to use decidedly non-cl.exe
things.

But you can try with your config, I suppose. Use

<archiver>"\"C:\\Program Files\\LLVM\\llvm-ar.exe\""

for now, to manually quote it.

--target, <architecture>, <address-model> shouldn't be needed. <ranlib> is a
gcc-style option, it's never worked with clang-win, only with clang-linux.
<rc> too.


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