This is the mail archive of the java@gcc.gnu.org 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: [patch] compiling multiple Java source files at once


Bryce McKinlay <bryce@albatross.co.nz> writes:

> I think it would be nicer/cleaner if the driver were to just pass the filelist through to jc1 rather than using a temporary file to pass the list. Is there a reason why it can't do that?

The main reason is that would require majorly more changes to gcc.c,
and to a lesser extent toplev.c. The implemented scheme gets away
with no substantive changes to either (jus changing a few functions
from static).

Now it might be reasonable to change gcc.c so that it can pass
multiple source files to a compiler, but that is certainly out
of the question for Gcc 3.0.

Also, given that we do want to support the "@FILE" feature, it makes
sense to use use the "@FILE" support to implement "FILE1 ... FILEn"
support.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/


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