Re: Evading the command line length limit (on Linux)

2009-07-30 Thread Eli Zaretskii
> From: Paul Smith > Date: Thu, 30 Jul 2009 10:19:53 -0400 > Cc: Xan Lopez , bug-make@gnu.org > > Remember that we actually have this problem in spades on other systems, > like Windows, where the command line length if far SHORTER than Linux. Perhaps you think about the 127-character limitation

Re: Evading the command line length limit (on Linux)

2009-07-30 Thread Ralf Wildenhues
Hi Paul, * Paul Smith wrote on Thu, Jul 30, 2009 at 04:19:53PM CEST: > On Wed, 2009-07-29 at 22:51 +0200, Ralf Wildenhues wrote: > > > > 2) Another possibility would be a hack like the following: split the > > long line into N substrings, each below the argument limit, and invoke > > > > sh -c

Re: Evading the command line length limit (on Linux)

2009-07-30 Thread Paul Smith
On Wed, 2009-07-29 at 22:51 +0200, Ralf Wildenhues wrote: > 1) One possibility would be to drop -c and pipe the command line to sh > on standard input. Just like parallel make, this would prevent using > the standard input of the make process within the child command process. > > 2) Another possi

Evading the command line length limit (on Linux)

2009-07-29 Thread Ralf Wildenhues
Hello bug-make readers, Xan Lopez brought up an interesting Automake issue about long commands that led us to an issue GNU make could be more helpful with[1][2]: Linux >= 2.6.23 has removed the in-kernel hardwired command line length limit[3]. So, once stack size has been increased sufficiently