Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-04-28 10:46:18


Craig Rodrigues <rodrigc_at_[hidden]> writes:

> On Sun, Apr 24, 2005 at 08:02:31AM +0200, Brian Ravnsgaard Riis wrote:
>> It works too. I was unaware that cmd.exe /Q/C was standard in bjam. If
>> that's the case, I really don't see why the above is needed. At all. My
>> concern was that the line was probably there for a reason, so I tried to
>> make it work without removing it. I don't know enough about the
>> internals here to tamper too much.
>
> It looks like this stuff was added in version 1.49 of gcc-tools.jam
> by David Abrahams in the v1 tree:
>
> http://cvs.sourceforge.net/viewcvs.py/boost/boost/tools/build/v1/gcc-tools.jam?r1=1.48&r2=1.49
>
> This file was just copied to the gcc.jam file in v2.
>
> I don't know what the motivation was for that change, nor why
> it breaks mingw now.

The motivation is that cmd.exe has a much more restricted command-line
length than the method that is used when JAMSHELL=%, and we were
violating that length when building static libraries. Since GCC
doesn't support response (.rsp) files, we needed a workaround.

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