Boost logo

Boost :

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

Paul A. Bristow wrote:

> FWIW, my failed attempts to use b2 to generate Boost libraries, in the
> 'standard' way, announce:
> clang-linux.compile.c++.without-pth
> bin.v2\libs\chrono\build\clang-linux-6.0.0\release\threading-multi\chrono.obj
> clang version 6.0.0 (tags/RELEASE_600/final)
> Is the "clang-linux" significant?

It is. The compiler itself will work, but attempts to build a library,
either static or shared, fail, as in

because the clang-linux toolset tries to use `ar` and `ranlib` for static
libraries, and passes ld-style options to link.exe for DLLs.

One has to use the clang-win toolset, but it doesn't seem to be getting much

Boost list run by bdawes at, gregod at, cpdaniel at, john at