Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-01 14:14:05


> And with your patch, nothing works:
>
> bjam msvc-8.0
> site-config.jam: No such file or directory
> warning: toolset como-win initialization:
> warning: can't find user-provided command 'call "c:/program files/microsoft visual studio .net 2003/vc7/Bin/vcvars32" > nul
> set COMO_MS_INCLUDE="c:/program files/microsoft visual studio .net 2003/vc7/include"
> set LIB=c:/tools/como433/libcomo;%LIB%
> set PATH=c:/tools/como433/bin;%PATH%
> set COMO_BASE=c:/tools/como433
> como.exe --diag_suppress=68'
> warning: initialized from
> don't know how to make <pbin\is_fixed_size.test\msvc-8.0\debug>is_fixed_size.rsp
> don't know how to make <pbin\category.test\msvc-8.0\debug>category.rsp
> don't know how to make <pbin\begin.test\msvc-8.0\debug>begin.rsp
> ...found 106 targets...

But with your patch and the enclosed patch to common.jam, it seems to
work out OK.

BTW, would it be possible for you to test these things by having bjam
launch cmd.exe via WINE rather than launching msvc directly? That
would be more reliable, I think.

 --=-=-= Content-Type: text/x-patch
Content-Disposition: inline; filename=common.diff

Index: common.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/common.jam,v
retrieving revision 1.36
diff -b -d -u -r1.36 common.jam
--- common.jam 24 May 2005 15:27:30 -0000 1.36
+++ common.jam 1 Jun 2005 19:11:50 -0000
@@ -458,10 +458,12 @@

sources += $(xlibraries) ;

- response-file-1 $(rsp) : $(sources[1]) ;
+ NOTFILE $(rsp)-xxx ;
+ DEPENDS $(rsp) : $(rsp)-xxx ;
+ response-file-1 $(rsp) : $(rsp)-xxx $(sources[1]) ;
if $(sources[2-])
{
- response-file-2 $(rsp) : $(sources[2-]) ;
+ response-file-2 $(rsp) : $(rsp)-xxx $(sources[2-]) ;
}

print.output $(rsp) ;
@@ -482,12 +484,12 @@
# to the file, piecemeal, so that no command-line is too long.
actions quietly response-file-1
{
- echo "$(>)" > "$(<)"
+ echo "$(>)" > "$(<[2-])"
}

actions quietly piecemeal response-file-2
{
- echo "$(>)" >> "$(<)"
+ echo "$(>)" >> "$(<[2-])"
}

rule __test__ ( ) {
 --=-=-=

-- 
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