testing xlib peers

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu May 17 23:51:00 GMT 2001

stewart@neuron.com wrote:

> gcj -o a a.java --main=a -lgcj -lgcjx -lstdc++
> (dunno, but it wouldn't build w/o -lstdc++. I also tried -lgtk -lgdk)

I guess we need to add an -lstdc++ to the libgcjx link line.

> is there any updated info on how to make this work?

Compile with something like "-Dawt.toolkit=gnu.awt.xlib.XToolkit" to set the
awt.toolkit system property. We should probibly change
Toolkit.getDefaultToolkit() to look for xlib peers if the gtk ones can't be


  [ bryce ]

More information about the Java mailing list