FYI: submitted ecj patch upstream

Andrew Haley aph@redhat.com
Tue Oct 10 10:22:00 GMT 2006


David Daney writes:
 > Andrew Pinski wrote:
 > >>I like the idea of checking in the .class files (perhaps in the form a a 
 > >>jar file) and CNI headers.
 > > 
 > > If we are going to do that, what about a 4 stage bootstrap or so which just
 > > compiles ecj to native also at the same time.
 > 
 > You would not need an extra stage.  Just build libgcj and ecj earlier in 
 > the bootstrap (in stage1 and/or stage2) so that stage3 would be built 
 > with the bootstrapped ecj.

This is turning into a discussion about "how" rather than "what".  We
agree in principle that we whould not require a working JVM before
bootstrapping gcc with gcj.  It would be nice to precompile ecj1 as
part of that bootstrap, but IMO it shouldn't be a requirement.  The
fewer hard requirements the better.

Andrew.



More information about the Java mailing list