Boost logo

Boost-Build :

Subject: [Boost-build] Algorithm for setting PATH when a 'run' or 'run-fail'
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-08-11 09:58:20

What is the algorithm for setting a PATH on Windows when the 'run' or
'run-fail' rule occurs in a jamfile ?

In running clang on Windows when an executable is created the PATH needs
to start with the bin directory of the mingw(-64)/gcc implementation
that a particular version of clang uses as its RTL when the program is
compiled/linked. It appears that when the 'run' or 'run-test' rule
occurs with the clang toolset on Windows that the PATH is adjusted to
have the directory of the clang++ executable and not that of the
corresponding mingw(-64)/gcc RTL ? Is there any solution to this from
within Boost Build ?

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