Boost logo

Boost-Build :

From: Ilya Sokolov (fal_delivery_at_[hidden])
Date: 2008-06-26 04:45:27


Rene Rivera wrote:
> Andrej van der Zee wrote:
>> Now I have another problem with running bjam in Cywin.
>> I am using bjam from the boost source tree (i.e.
>> tools/jam/src/bin.ntx86/bjam) and it runs fine. But,
>> it redirects errors to >nul and only tells me whether
>> it succeeds or fails (it does not give me the compiler
>> output). Running bjam with -d2 gives me output like
>> the following:
>>
>> cmd.exe /S /C call "C:\Program Files\Microsoft Visual
>> Studio 9.0\VC\vcvarsall.bat" x86 >nul "&&" cl /Zm800
>> -nologo
>> @"bin\msvc-9.0\debug\threading-multi\ticpp.obj.rsp"
>>
>> Removing the >nul from the command gives me the
>> compiler errors, but I obviously do not want to spell
>> out the whole command every time.
>>
>> How can I fix this?
>
> That ">nul" should *only* redirect the output of the "vcvarsall.bat"
> script. The output from "cl.exe" should go to the console as usual.

Under cygwin ">nul" should be quoted to be processed by cmd.

> And
> as can be seen in the Boost regression reports
> <http://tinyurl.com/3pqfh6> it does seem to work as intended in other
> systems.

They are running bjam from cmd.


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