[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: gnumake[1]: execvp: /bin/sh: The parameter or environmentlists are t
From: |
Dave Korn |
Subject: |
RE: gnumake[1]: execvp: /bin/sh: The parameter or environmentlists are too long |
Date: |
Wed, 15 Aug 2007 10:56:40 +0100 |
On 15 August 2007 04:59, Paul Smith wrote:
> On Sun, 2007-08-12 at 22:31 -0400, Kothanda_Sathya wrote:
>> How it looks on our GNUmakefile, if sources specified within the limit
>> around 450, this error occurs otherwise it reports error the parameter
>> or environment list are too long.
>
> The maximum size of the environment for a new process (which includes
> not only the environment variables but also the command line arguments)
> is a limit set by the operating system (the kernel). It has nothing to
> do with GNU make and there is no possible way that GNU make can increase
> that limit: it's not modifiable from user space (in fact typically it
> can't be modified except by recompiling the kernel).
I came up with an idea that solves some cases of this problem:
http://lists.gnu.org/archive/html/help-make/2007-03/msg00011.html
Could dust off the patch and rework it against current cvs if anyone cares.
cheers,
DaveK
--
Can't think of a witty .sigline today....