Getting gcj to compile what it finds when scanning
Per Bothner
per@bothner.com
Tue Feb 22 01:55:00 GMT 2005
Bryce McKinlay wrote:
> Yeah, it would probably require major changes to GCC's backend machinery
> to allow the front end to generate multiple .o files from one
> invocation. I suppose the driver could call jc1 to get a list of
> dependencies, then invoke it once for each file that it gets back - but
> this would be much slower than a single jc1 invocation, and I think the
> benefits of doing this are questionable.
The Gcc "compile server" branch allows the gcc core to be invoked
multiple times, yielding separate assembler files. However, it is
focused on C/C++, concentrating on remembering of include file contents.
But we also needed to make changes to the toplevel code which effects
all languages, and could be used for Java as well.
Getting it all working won't be easy. However, conventrating on Java
would be a lot simpler than C/C++, and might be a useful stepping
stone to a more general compile server.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Java
mailing list