Dynamic class loading

Tom Tromey tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


Matt> As I mentioned in my other message, the newest libgcj doesn't
Matt> compile with gcc 2.95.2 (darn). I'm building the latest CVS egcs
Matt> right now. Do I still need to apply Bryce's patch?

Nope.  Last I heard there were some problems building the latest gcc,
though.  I think you have to bootstrap with -fno-builtin.  You might
want to check the recent java-discuss archives.  Bummer.

Matt> That's what I figured - just wanted to get that
Matt> documented. Maybe it's time for someone (me?) to take a crack at
Matt> a GCJ-HOWTO :-)

Sounds good.

I spent some time this weekend working towards getting FAQ-O-Matic
installed for all the projects on sourceware (not just gcc, as it is
now).  Maybe we could use that for these tasks.

Matt> One cute hack would be to have the "interpreter" fork off an
Matt> instance of gcj to quietly compile a .class into a .so in the
Matt> background, and load it right from /tmp - so that someone with
Matt> an existing set of .class files doesn't even know gcj is there
Matt> :-)

A really, really slow JIT :-)

Tom


More information about the Java mailing list