From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2008-06-27 10:28:17
Mat Marcus wrote:
> On Wed, Jun 25, 2008 at 9:55 PM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
>> That ">nul" should *only* redirect the output of the "vcvarsall.bat" script.
>> The output from "cl.exe" should go to the console as usual.
> On a related note, are we sure that the output from the vcvars should
> be ignored? Or, at least, shouldn't we be checking the status code
> after running the script? There have been incidents in the past where
> I've helped colleagues debug boost build issues, only to find that
> their msvc environment was mis-configured. The information that the
> vcvars script failed would have been a time saver.
When the code was written, in the vc6 days, the vcvars script spit out
output always. This obviously is rather annoying when one is really
interested compile output. But we do check for the status result of the
command, that's what the "&&" is there for. It short circuits the
running of the command so that it fails as soon as vcvars fails.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail
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