Don't exceed command-line length limits
Tom Tromey
tromey@cygnus.com
Tue Sep 12 11:22:00 GMT 2000
Alexandre> Some OSs on which I've been building libjava impose limits
Alexandre> on command-line lengths that libjava Makefiles used to
Alexandre> exceed. Here's a patch that reworks the Makefiles so as to
Alexandre> avoid emitting exceedingly long command lines, and to give
Alexandre> feedback to the user as each Java source file is compiled.
Alexandre> Unfortunately, it introduces yet another dependency on GNU
Alexandre> make, but since we already had some, I thought it wouldn't
Alexandre> hurt too much. Ok to install?
If we're going to echo, I'd prefer to echo the command lines,
automake-style. With this change I think it is good to check in.
How much does this change slow down the build? I imagine right now,
not too much, because gcj just invokes jc1 once per file anyway.
Long term maybe we should implement `@file' processing like javac
does. I'll submit a PR for that.
Tom
More information about the Java-patches
mailing list