This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libgcjx.la
>>>>> "Scott" == Scott Gilbertson <scottg@mantatest.com> writes:
Tom> Is there any reason for this? I think we should rename the library to
Tom> `lib-gnu-awt-xlib.la' and get rid of libgcjx altogether.
Scott> I've never looked at that aspect of the thing, but that sounds
Scott> fine to me.
I'm going to make this change.
Tom> Scott, how do you currently make the peers visible to your code?
Scott> To use shared libraries, I just add -lgcjx
Scott> nd -Dawt.toolkit=gnu.awt.xlib.XToolkit to the gcj command line.
On the trunk you won't have to set awt.toolkit any more, if you
configure with --enable-java-awt=xlib.
Scott> For static linking, it's kind of obnoxious at the moment.
Yeah.
Scott> I suspect that I'd be able to do -lgcjx and reference XToolkit
Scott> and maybe a couple of other classes in one of my sources.
Yeah, that's what I'd recommend.
Tom