This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcj and gij


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]