This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: gcj and gij
- To: Justin Urbanski <urbanski at nortelnetworks dot com>
- Subject: Re: gcj and gij
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Fri, 21 Jul 2000 14:35:25 +1200
- CC: java-discuss at sources dot redhat dot com, Andrew Zahra <andzahra at nortelnetworks dot com>
- References: <3977A056.81C8D20A@asiapacificm01.nt.com>
Justin Urbanski wrote:
> If I build libgcj with --enable-interpreter, does this ignore undefined references, which would therefore allow me to build my executable, but at runtime GIJ will find the jar file in my classpath?
No. If you want to mix native and interpreted code, you need to do it via Class.forName() which is essentially Java's dynamic loading mechanism. You cannot have undefined references at link time.
How old is your libgcj? I'm curious as to what parts of serialization are missing.
regards
[ bryce ]