From: David Abrahams (dave_at_[hidden])
Date: 2005-07-01 14:20:08
Andrey Melnikov <melnikov_at_[hidden]> writes:
> What's the differense between [ modules.peek : TOOLS ] ; and [
> os.environ TOOLS ] ?
The former looks into the global module for the TOOLS variable. It
might not correspond to anything in the environment. The latter gets
the value of the TOOLS variable in the environment. When bjam starts,
it puts the environment plus the command-line -s options into the
global module, but it also does some weird preprocessing on the
values, like splitting them at whitespace, so they start out not being
quite what's in the environment, and can always be changed later.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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