Date: Mon, 18 Feb 2002 15:32:26 -0800 From: Luigi Rizzo <rizzo@icir.org> To: current@freebsd.org Subject: "/bin/sh: Argument list too long" when compiling LINT ... Message-ID: <20020218153226.B21924@iguana.icir.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020218153226.B21924>