Boost logo

Boost-Build :

From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2003-03-19 05:21:57


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ali !

On Tuesday 18 March 2003 18:27, Ali Azarbayejani wrote:
[all snipped]

I'm having problems with long commandlines, too.
One workaround is the patch attached.
It changes the maximum action lenght for bjam actions to the
(unrealistic) high value of 1.000.000.

The builtin compiler limit (or better shell limit) is defined somewhere
in the linux kernel sources. I guess its aroung 64k or so, but I cant
find the location just now.

In my case, this works very well, except when commandlines exceed the
shell limit. But even then the compiler fails gracefully.
For your information: I've got some 40 libraries and 6 exe's lying
around here and it works reasonably well for now.

Yours,

Jürgen
- --
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+eETFljbJ/LLrxrYRAgYnAKCSfI5+fmL1mJhk3cwqhniNmq29rQCcC+Wl
sP9BDmjdnlKVsniLoB3ZPnM=
=QCPt
-----END PGP SIGNATURE-----
 --Boundary-00=_FTEe+A6hFuqRTV+ Content-Type: text/x-diff;
charset="iso-8859-1";
name="jam.h.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="jam.h.diff"

Index: tools/build/jam_src/jam.h
=================================RCS file: /cvsroot/boost/boost/tools/build/jam_src/jam.h,v
retrieving revision 1.11
diff -u -r1.11 jam.h
--- tools/build/jam_src/jam.h 13 Jan 2003 16:51:58 -0000 1.11
+++ tools/build/jam_src/jam.h 19 Mar 2003 07:37:37 -0000
@@ -466,7 +466,8 @@
*/

# ifndef MAXLINE
-# define MAXLINE 10240 /* longest 'together' actions' */
+//# define MAXLINE 10240 /* longest 'together' actions' */
+# define MAXLINE 1000000 /* longest 'together' actions' */
# endif

# ifndef EXITOK
 --Boundary-00=_FTEe+A6hFuqRTV+--


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