[Libswt-discuss] New release of libswt-gtk2
Status: Beta
Brought to you by:
mckenzie_keith
From: McKenzie K. <ma...@ho...> - 2003-09-15 15:54:15
|
There is a new release available of libswt-gtk2. This release is version 2.1.1-2. Note that the 2.1.1 is the Eclipse version, and the -2 is the libswt release number. So this is the second release based on Eclipse 2.1.1. New in this version is a dependency on libgnome-2.0, creation of a jar file, and support for pkg-config. This should make it easier to build against libswt-gtk2. After a successful installation pkg-config should be able to supply compile flags (--cflags) and link flags (--libs). As an example, the link flags might be "-L/usr/local/lib -lswt-gtk2." And the compile flags might be "-I/usr/local/lib/libswt-gtk2.jar." So, if you have a single java file, Hello.java, that depends on the SWT, you can compile it as follows: % gcj -c Hello.java -o Hello.o `pkg-config --cflags libswt-gtk2` % gcj --main=Hello -o Hello Hello.o `pkg-config --libs libswt-gtk2` --McKenzie _________________________________________________________________ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es |