This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

Re: gcj with swt or motif


Erik Poupaert wrote:

This should be the gist of how to link statically on linux all the way down
to gtk. I've tested it on Ret Hat 8.0 and someone else on Red Hat 9.0. There
is no apparent reason why it should not work for Motif; mutatis mutandis, of
course.

Erik, your instructions worked out-of-the-box for swt-motif. I guess we can now add Red Hat 9/SWT-Motif to the growing repertoire of working swt/gcj combos!

To link gtk itself statically I haven't tried by myself. I just know that
adding "-static" is not sufficient.


If I were to distribute swt/gcj-based applications, should I include the necessary libraries with the package, such as libgcj and libXm (for motif)? I noticed that I couldn't load my test app without reference to the libraries.

Thanks again,
David


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