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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to