bug-make
[Top][All Lists]
Advanced

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

Re: GNU enhancement -- $(xargs cmd, list)


From: Reid Madsen
Subject: Re: GNU enhancement -- $(xargs cmd, list)
Date: Wed, 8 Nov 2000 16:25:52 -0600 (CST)

Update on this issue...

'xargs' on Solaris is hopelessly brain-dead.  Even though the O/S supports a
command line length of 1MB, 'xargs' refuses to allow a command line length in
excess of 2K.  If you specify something like:

        xargs -s 50000 ls < tmpfile

you get:

        xargs: 0 < max-cmd-line-size <= 2048: 50000

Yuck!  So, the XARGS_LEN option is of zero worth, and I'm dropping it.

However, with the $(XARGS) variable, you can point make to a __better__
implementation of xargs.  This is how we solved the problem in our build
environment.

Reid

 > Date: 7 Nov 2000 09:06:29 -0600
 > From: Reid Madsen <address@hidden>
 > 
 > Not so.  On Solaris, the xargs implementation limits the command line to 2K.
 > Not very useful IMO.
 > 
 > Reid
 > 
 >  > From: "Howard Chu" <address@hidden>
 >  > Date: Tue, 7 Nov 2000 01:19:26 -0800
 >  > 
 >  > I would omit the XARGS LEN. Presumably the local platform's xargs command 
 > is
 >  > already properly configured for the native system's line length 
 > limitations.

-- 
Reid Madsen                             address@hidden                      
Senior Member, Tech. Staff              (972) 536-3261 (Desk)
I2 Technologies                         (214) 850-9613 (Cellular)
--
Making incrementally (without 'clean') since May 18, 2000.
Long live incremental make!



reply via email to

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