This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: gcj and gij
- To: Jeff Sturm <jsturm at detroit dot appnet dot com>
- Subject: Re: gcj and gij
- From: "Justin Urbanski" <urbanski at nortelnetworks dot com>
- Date: Fri, 21 Jul 2000 13:12:51 +1000
- CC: java-discuss at sources dot redhat dot com, "Andrew Zahra" <andzahra at nortelnetworks dot com>
- Organization: Nortel Networks
- References: <3977A056.81C8D20A@asiapacificm01.nt.com> <3977B689.BED6D033@detroit.appnet.com>
We are using GCJ on PowerPC Linux developed for Nortel Networks. It is version 2.9 which does not support serialization period.
Justin.
Jeff Sturm wrote:
> Justin Urbanski wrote:
> > I am currently trying to build my application with an external XML parser (jar file). This XML parser uses serialization which GCJ does not support, therefore I get link errors. Would it be possible to somehow use GIJ to get around this. If so, how?
>
> Are you using a released (2.95.x) libgcj, or snapshot? Recent snapshots
> have serialization mostly implemented. What classes are you missing?
>
> Gij won't help with your link errors. It's just another way to run Java
> programs (compiled or bytecode) with libgcj.
>
> > 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?
>
> The interpreter should find your jar file, but will probably only move
> the error from compile time to runtime as soon as it tries to invoke the
> parser. There's nothing it can do about missing classes.
>
> If you have the chance to use a recent gcj/libgcj, let us know how it
> goes.
>
> --
> Jeff Sturm
> jeff.sturm@appnet.com