Boost logo

Boost-Build :

Subject: Re: [Boost-build] Different commands on different platforms?
From: John Maddock (john_at_[hidden])
Date: 2008-12-02 13:25:19


Vladimir Prus wrote:
>> Steven has already provided the solution. The explanation is that in
>> V2,
>> variables such as NT and OS and UNIX are available in global module,
>> whereas
>> each Jamfile is a separate module. Helper functions such as os.name
>> is the
>> best approach for checking the host OS.

OK thanks, but does that mean that the docs here:
http://www.boost.org/doc/tools/build/doc/html/jam/language.html#jam.language.variables.builtins
are wrong?

Cheers, John.


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