Boost logo

Boost-Build :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2019-07-23 10:17:11


AMDG

On 7/22/19 8:17 PM, Edward Diener via Boost-build wrote:
> If I have on Windows in my user-config.jam
>
> import toolset ;
> using clang-win : 8.0 : E:/programming/bat/cp_clangwin80.bat : etc. ;
> using clang : 8.0 : E:/programming/bat/cp_clang80.bat : etc. ;
>

Flip the order. `using clang` is the same as `using clang-linux`
The first one listed is the default.

> and my invoocation is:
>
> b2 toolset=clang-8.0 somejam.jam
>
> the clang-win toolset is chosen to compile/link the tests in somejam.jam
> instead of the clang toolset. I realize I can solve this by changing the
> clang toolset to clang-linux, and then invoking b2 as:
>
> b2 toolset=clang-linux-8.0 somejam.jam
>
> but why should I have to do this ?
>
> If I just have in my user-config.jam
>
> import toolset ;
> using clang : 8.0 : E:/programming/bat/cp_clang80.bat : etc. ;
>
> then
>
> b2 toolset=clang-8.0 somejam.jam
>
> does use the toolset I have.
>

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk