help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make command line lengths


From: Jens Schweikhardt
Subject: Re: make command line lengths
Date: Thu, 5 Jul 2001 14:29:22 +0200
User-agent: Mutt/1.2.5i

On Thu, Jul 05, 2001 at 12:03:14PM +0000, Russell Quinn wrote:
# How can I increase the allowable length
# of command lines in Make??

As make passes all commands to a shell (normally /bin/sh -c) this is a
question not of gmake, but your particular shell implementation.

Limits for command line lengths in the shell can usually be gotten
around by using xargs (and in extreme cases, using a different shell).
If all else fails, reduce the command line length, maybe by repeating a
command with just a few args instead of one big list. You have not
provided an example of what *exactly* you do, and my psychic power today
is sub-zero :-)

Regards,

        Jens
-- 
Jens Schweikhardt  http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]