Problems with Mohans GCJ 20030522 build
Andrew Haley
aph@redhat.com
Wed Jun 4 15:53:00 GMT 2003
Jeff Sturm writes:
> We already have "gcj -C" as a drop-in for javac, and "gij" for java. Both
> work quite well. But retrofitting any substantial java package, its build
> system, etc. for AOT compilation is *hard*. And it won't get much easier
> until we (users & developers) embrace something like what you've described
> in:
>
> http://gcc.gnu.org/ml/java/2003-01/msg00022.html
>
> The two biggest hurdles I see are that a) -fno-assume-compiled isn't
> finished yet and b) the duplicate class registration bug that prevents
> ever loading two DSO's declaring the same class.
Every time I look at that scheme the more I like it. It allows
ahead-of-time compilation without requiring the user to do anything
other than run the application after building it. But yes, there are
a few more steps to make before this will be a reliable technique.
Andrew.
More information about the Java
mailing list