Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-11-15 03:19:24


Hi,
it looks like the new response files handling broke the "-o" option.
That options causes bjam to write all action it would have executed to a file.
That file can be then run by your shell, without need to have bjam around.

Previously, response files were generated with "echo" commands, so things
worked. Now, they are generated internally by bjam, so the generated scripts
tries to uses response files that are not created at all.

Any ideas what can be done here? I have two ideas:

1. With -o option, make up "echo" invocations that would have the same effect.
The problem is that IIUC, "echo" command always write a trailing newline,
so the output won't be exactly the same.

2. Add some bjam switch to generate response files only if command line length
will be too long otherwise. This might be hard given the current:

@"@(........)"

syntax. How do we get rid of the first "@" is bjam decides not to use response
file?

Comments?

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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