SWT and gcj - any license issues?
Kevin B. Hendricks
kevin.hendricks@sympatico.ca
Sat Apr 19 01:14:00 GMT 2003
Hi,
> It does make sense to try to facilitate the use of SWT with GCJ,
especially
> by publishing the information needed, or by creating little convenience
> tools that would facilitate the task and support a particular strand of
> using SWT with GCJ.
I think that would be a good idea.
BTW: one way to link only specific libs statically while linking other lis
dynamicly is to pass switches directly to the linker.
This works fine fine using gcc to do the compile/linking so I am not sure
it will work with gcj but it might...
You simply wrapper the lib you want to link statically between switches
that get passed to the linker.
The first switch turn on static linking
-Wl,-Bstatic
ad the second switch turns it off
-Wl,-Bdynamic
So the compil link line would look something like the following under gcc
gcc blah_blah -Wl,-Bstatic -lyourstaticlib -Wl,-Bdynamic -lother_lib1
-lotherlib2
Hope this helps,
Kevin
More information about the Java
mailing list