This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Don't exceed command-line length limits


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]