static linking
Alexandre Oliva
aoliva@redhat.com
Wed Dec 6 10:03:00 GMT 2000
On Dec 6, 2000, Tom Tromey <tromey@redhat.com> wrote:
>>> gcj shouldn't need to do anything special to get the supc++ stuff,
>>> it should all be put into libgcj.a, the same way it gets built into
>>> libstdc++.
Alexandre> Methinks explicitly linking libstdc++ in should be enough.
> We don't want to do this. Java programs don't need all of libstdc++.
For static linking, they'll get only as much as they need. But for
shared linking, it can indeed make a significant difference.
>>> The best solution, I think, would be to make a compiler option that
>>> allows you to do this more easily. eg
>>> "--link=gnu.gcj.protocol.jar.Handler,gnu.gcj.protocol.http.Handler"
>>> or something.
Alexandre> Good idea.
> I agree. Like Jeff says, we could do this by further hacking
> jvgenmain.
Yep.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Java
mailing list