From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22291 invoked by alias); 28 Aug 2004 11:29:20 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 22278 invoked from network); 28 Aug 2004 11:29:18 -0000 Received: from unknown (HELO mail08.syd.optusnet.com.au) (211.29.132.189) by sourceware.org with SMTP; 28 Aug 2004 11:29:18 -0000 Received: from [192.168.0.105] (c211-31-27-31.rivrw6.nsw.optusnet.com.au [211.31.27.31]) by mail08.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id i7SBTGHc028536 for ; Sat, 28 Aug 2004 21:29:17 +1000 Subject: Re: "Arg list too long" during bootstrap From: Ken Foskey To: gcc help In-Reply-To: <87vff3einw.fsf@network-theory.co.uk> References: <87vff3einw.fsf@network-theory.co.uk> Content-Type: text/plain Message-Id: <1093692558.1729.302.camel@froddo.foskey.org.au> Mime-Version: 1.0 Date: Sun, 29 Aug 2004 15:26:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00264.txt.bz2 On Sat, 2004-08-28 at 19:06, Brian Gough wrote: > Generally it is the number of arguments that is the issue. There is > usually a way to increase the limit with a kernel parameter (via > smitty chgsys on AIX, I think). arg lists are generally the shell not system. If you can figure out a script name you could try switching the #!/bin/sh line to your bash line. ksh (sh in aix generally) has a 1k or 2k limit whereas bash has 4k. You could also tweak the script to use xargs if appropriate. -- Thanks KenF OpenOffice.org developer