This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: testing xlib peers
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
found.
regards
[ bryce ]