Patch: RFC: libgcj_bc addition
David Daney
ddaney@avtrex.com
Wed Aug 23 00:02:00 GMT 2006
Tom Tromey wrote:
> I'm a little surprised this works -- I would have expected that
> something (ld? ld.so?), would want the objects to have the proper
> size. However, this doesn't seem to be the case.
>
Back in gcj 3.4.x jvgenmain used the pretend-the-class-is-an-int trick.
It seemed to work well. jvgenmain from 4.2 seems to be a bit
trickier, and use void *. But I would think the linker would still
allow it.
David Daney
More information about the Java-patches
mailing list