[patch] compiling multiple Java source files at once

Per Bothner per@bothner.com
Tue Feb 20 19:42:00 GMT 2001


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/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /