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 <[EMAIL PROTECTED]>
 > 
 > Not so.  On Solaris, the xargs implementation limits the command line to 2K.
 > Not very useful IMO.
 > 
 > Reid
 > 
 >  > From: "Howard Chu" <[EMAIL PROTECTED]>
 >  > 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                             [EMAIL PROTECTED]                      
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!

_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to