Boost logo

Boost Users :

Subject: Re: [Boost-users] Specifying Compiler when invoking bootstrap.sh
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2018-08-07 14:01:54


On 7 August 2018 at 15:18, Michalke, Simon via Boost-users
<boost-users_at_[hidden]> wrote:
> Hello all,
>
> simple question:
> How do I specify the compiler that will be used to compile boost directly?
> I would like to provide the whole path.

Typically, you pass name of recognised/known toolset via command line
https://github.com/boostorg/boost/blob/master/bootstrap.sh#L154

But, I doubt/don't know you can pass full path.
Instead, you can try to specify the special `cc` toolset and
point to your compiler via the CC environment variable:

https://github.com/boostorg/build/blob/develop/src/engine/build.sh#L37-L40

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net