Awt implementation in libgcj?

Anthony Green green@cygnus.com
Tue Dec 14 06:57:00 GMT 1999


Rolf wrote:
> I was using an old version of libgcj where I didn't encounter this
> problem. Am I using JvThrow(..) in an unusual manner, or is this a general
> problem with new versions of libgcj?

You were doing the right thing.  It's only a problem when you use the
setjmp/longjmp exception handling scheme.  We'll fix this somehow.
For now I simply added -DSJLJ_EXCEPTIONS to the g++ command line.

The final thing I had to do was explicitly add -lstdc++ to the link
line.

The TestWindow came up fine.  I also tried the Viewer program with
your sample image, but the colours all look weird.  I'm displaying on
a 16-bit display if that makes any difference.

AG

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California


More information about the Java mailing list