lobotomizing libgcj
Tom Tromey
tromey@redhat.com
Fri May 11 14:03:00 GMT 2001
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
Jeff> I agree, except that I'd like to add --{enable,disable}-jni
Jeff> (with enable the default). This would be easiest to do at
Jeff> configure time.
Jeff> It wouldn't save much space though, I'd guess. The general
Jeff> problem of omitting entire packages from the java tree is
Jeff> difficult.
Yeah. One idea Andrew (as I remember it anyway) had is to use
something like the eCos config tool to let us make fine-grained
build-time decisions. But as he points out, Java actively works
against you.
This is why "section GC" linking is nice: you don't have to decide
until link time.
I think we probably will need some ad-hoc configury, even assuming
this kind of seletive linking. For instance if you really don't need
any of the reflection data then it might be easier to get rid of it at
configure time. I'm guessing we'd have to find things like
experimentally.
Tom
More information about the Java
mailing list