Boost logo

Boost-Build :

Subject: Re: [Boost-build] --with-toolset not accepting clang-XY.Z
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2018-04-09 19:24:13

On 9 April 2018 at 19:38, Steven Watanabe via Boost-build
<boost-build_at_[hidden]> wrote:
> On 04/03/2018 09:31 AM, Mateusz Loskot via Boost-build wrote:
>> I'm using Docker with clang (nwtgck/llvm-clang:5.0.0) where there is
>> no clang alternative configured, but only /usr/bin/clang-5.0.0.
>> I was surprised to discover that
>> ./ --with-toolset=clang-5.0.0
>> fails with
>> ./ 17: ./ clang: not found
>> I assume, similar failure would happen for gcc-7.2, for instance.
>> Is this known limitation or am I missing any options
>> or environment variables to the script?
> The specific toolsets in bootstrap are quite hard-coded.

Eventually, I switched to
where clang and clang++ commands are available.

> You may need to use the `cc` toolset and set CC and CFLAGS.

Thank you, new trick to me.

AFAICS, seems documented ;)

Best regards,

Mateusz Loskot,

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at