Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-02-01 23:22:32


Reece Dunn wrote:

> Greetings,

Salutations ;-)

> I am a new user of bjam and Boost.Build on WinXP SP1. I am looking to
> provide Jamfiles for my Boost library I am developing as well as the
> possibility of migrating my own projects to the system.
>
> [1] I find it useful to write the error messages of a compiler to a text
> file. This is easy to do, e.g.:
> bjam -a > output.txt
>
> The problem comes when using tools that write error messages to stderr
> instead of stdout as only stdout is logged (I'm not sure if this occurs in
> other OSs).

If I remember correctly it's only a Windows problem.

>The solution I have come up with is to write a program called
> 'grab' that merges the two streams, but it only works on Windows, e.g.:
> grab bjam -a > output.txt
>
> I was wondering if any other users have come across this before, or if it
> was possible to merge the two within bjam itself!

It's been reported before. The VisualC++ tools like spewing into stderr silly
things like program banners.

>Are the Boost regression
> tests affected by this, as they filter from stdin the output generated by
> bjam?

Probably, but shouldn't be hard to account for that output as the input they
pay attention to is minimal. And hopefully we'll be removing that
post-processing step.

> [2] It would be useful to have a section in the documentation on configuring
> the tools, with common errors and solutions. E.g. building using Borland
> C++Compiler 5.5, I get the following error:
>
> borland.link bin\borland\debug\hello.exe bin\borland\debug\hello.rsp
> Fatal: Unable to open file 'C.OBJ'
>
> set "PATH=d:\devel\C++Builder/bin/;%PATH%"
> "d:\devel\C++Builder/bin/bcc32" -v -q -v -v -tWD -tWC -tWR -tWC
> -WM-
> -L"d:\devel\C++Builder/lib" -e"bin\borland\debug\hello.exe"
> @"bin\borland\debug\hello.rsp"
>
> ...failed borland.link bin\borland\debug\hello.exe
> bin\borland\debug\hello.rsp..

Do you have a solution?? (I don't even know what the problem is ;-) -- If you
have a common error and solution posting it here is _very_ likely to make us
add it to the documentation.

> [3] Is anyone planning on adding support for Metrowerks CodeWarrior?

I'll likely be the one doing that as it's the compiler I use on Windows. But
contributions are welcome.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
 

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