Patch: java class registration via .jcr section, take 3

Jakub Jelinek jakub@redhat.com
Thu Aug 9 16:23:00 GMT 2001


On Thu, Aug 09, 2001 at 03:46:17PM -0700, Richard Henderson wrote:
> On Thu, Aug 09, 2001 at 05:58:21PM -0400, Jakub Jelinek wrote:
> > Shouldn't the crtstuff.c changes be moved into jcrtbegin.o and jcrtend.o
> > which would be added only for Java programs?
> 
> I don't know.  That makes some amount of sense, but it also 
> makes it more difficult to link Java with any other language.

Not that much, since I think whenever you're linking in some Java code you
really want to use gcj for the final link, so that it will bring needed
libraries etc. (that will bring in -lstdc++ and -lc too).

BTW: What's the reason why libgcj does not have DT_NEEDED libgcjgc.so.1 when
it really needs it (and likewise for libzgcj (resp libz))?

	Jakub



More information about the Java-patches mailing list