This is the mail archive of the java-discuss@sourceware.cygnus.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: Awt implementation in libgcj?



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

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