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

https://ci.appveyor.com/project/pdimov/system/build/1.0.117-feature/clang-appveyor/job/nfh10llkn4vcg0h4

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
attention.


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