This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: Don't exceed command-line length limits
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: Don't exceed command-line length limits
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 12 Sep 2000 12:29:15 -0600
- Cc: java-patches at sources dot redhat dot com
- References: <or66o4a8ag.fsf@guarana.lsd.ic.unicamp.br>
- Reply-To: tromey at cygnus dot com
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