Boost logo

Boost :

Subject: [boost] [build] Algorithm for setting PATH when a 'run' or 'run-fail'
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-08-11 14:33:43


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 list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk