From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-12 15:21:19
----- Original Message -----
From: "Anichini, Steve" <Sanichini_at_[hidden]>
> Hi. We're using jam over here at Midway, and I'm in the process of
> over to boost jam because of some of the added features.
> I made a change to the jam executable itself you might be interested
> incorporating. On Win2K at least, it is safe to set the maxline() to
Not according to my tests. Try a command which just invokes echo with a
string of 3000 characters.
> Enclosed is a modified execnt.c that will set the maxline() to 4095 on
> and above. It is modified from the boost 1.27 sources
> I've also enclosed the python script I used to determine the limit.
I think you need to test some of the built-in command-line tools.
The limitation with echo is important to us because we use echo to build
.CMD files (which is a workaround for line-length limits).
> I'm including another change which may or may not be useful to the
> large. I modified the jam executable to look for a file called
> the same directory as the jam executable. My code only works on
> I don't know the methods on the other platform to get the directory an
> executable resides in. I would have liked to just implement this
> functionality in the Jambase itself, but couldn't see a way to do a
> conditional based on whether a file exists or not. If it's possible to
> implement this in the Jambase itself, I'd much rather do it that way
> have to maintain branched code.
> The new search order is as follows:
> if jambase specified with -f
> load that jambase
> else if Windows and Jambase file exists in EXE directory
> load Jambase file
> load compiled Jambase
We are implementing different startup semantics:
Does that sound useful to you?
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