From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-02 10:57:43
OK, now I think I do have an idea what's going on. There are several
1. MAXLINE for Win95/98 appears to be about 1011
2. The Jam hacks to support Win95/98 handle built-in commands like "DEL"
specially, such that the invocation "IF EXIST xxxx DEL xxx" won't work. I
changed boost-base.jam to work around this problem, but it would be great if
someone could come up with a better solution.
Please update in tools/build and tools/build/jam_src, rebuild Jam, and try
Thanks for your patience,
----- Original Message -----
From: "David Abrahams" <david.abrahams_at_[hidden]>
Cc: "David Turner" <david.turner_at_[hidden]>; <jamboost_at_[hidden]>
Sent: Sunday, December 02, 2001 8:46 AM
Subject: Re: [boost] can't build with jam
> Hi John,
> I've been looking at this problem for a while this morning, and I'm still
> not sure what's going on. For the record, I don't have Win95/98 on my
> machine, so I can't easily test it. All of the Win95/98 support we have
> comes from work by David Turner, and he's been difficult to raise recently
> (hello, David?), so I'm thinking of alternative strategies...
> Here's one thing you could do which would be informative: run jam with
> the -d+2 option, which will dump the build commands to stdout just before
> they're executed. Then, grab the text of the command which fails (note
> it starts on a separate line with "if exist..."), and stick it in a .bat
> file. Then run the .bat file. This process reproduces roughly what I think
> is happening inside the jam source code.
> The other thing you could do, if you're feeling generous, is to take a
> at tools/build/jam_src/execnt.c, which is where command execution for all
> windows flavors is handled. Maybe you'll see something I've missed.
> ----- Original Message -----
> From: "John Maddock" <John_Maddock_at_[hidden]>
> To: "boost" <boost_at_[hidden]>
> Sent: Sunday, December 02, 2001 7:38 AM
> Subject: [boost] can't build with jam
> > Dave,
> > I've been trying out the latest jam version - mainly as a means of tests
> > the thread lib - but I can't get it to work.
> > With the prebuild jam executable I get command line length problems -
> > basically the command line just gets chopped off in mid flow - see
> > attached.
> > This is on Win98 BTW.
> > - John Maddock
> > http://ourworld.compuserve.com/homepages/john_maddock/
> > Info: http://www.boost.org Unsubscribe:
> > Your use of Yahoo! Groups is subject to
> Info: http://www.boost.org Unsubscribe:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
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