From owner-freebsd-current Mon Feb 18 15:32:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 8D8FC37B400 for ; Mon, 18 Feb 2002 15:32:26 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g1INWQ622118; Mon, 18 Feb 2002 15:32:26 -0800 (PST) (envelope-from rizzo) Date: Mon, 18 Feb 2002 15:32:26 -0800 From: Luigi Rizzo To: current@freebsd.org Subject: "/bin/sh: Argument list too long" when compiling LINT ... Message-ID: <20020218153226.B21924@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am getting a "/bin/sh: Argument list too long" error message when doing env MKDEP_CPP="cc -E" CC="cc" mkdep -a -f .newdep ... while compiling LINT on a -current tree. Sources are in /home/xorpc/u2/homes/rizzo/HEAD/src/sys which contributes a bit to the size of the argument list (though by pure luck regular kernels do fit in whatever argument size is allowed). Any idea on how to fix this ? One option could be to put the list of CFILES in a file and let mkdep (and in turn cc) grab them from there instead of using command-line arguments. For mkdep this is easy (it is a script and it is easily modifiable), but i have no idea if gcc support reading the list of filenames from a file. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message