SWT and gcj - any license issues?
Erik Poupaert
erik.poupaert@chello.be
Sat Apr 19 01:19:00 GMT 2003
>>>>> BTW: one way to link only specific libs statically while linking other
lis
>>>>> dynamicly is to pass switches directly to the linker.
>>>>> The first switch turn on static linking
>>>>> -Wl,-Bstatic
>>>>> ad the second switch turns it off
>>>>> -Wl,-Bdynamic
Thanks. If I understand this right, I should compile as following:
gcj ... -Wl,-Bstatic -lgcc_s -lgcj -Wl,-Bdynamic -lm -lpthread -ldl -lc
???ld-linux
Do you know, if I need to link against ld-linux explicitly?
A second problem is that gcj automatically links against the gcc_s, gcj, m,
pthread, dl, and c libraries. How can I prevent gcj from automatically doing
this? I obviously need more control over the linking process ...
More information about the Java
mailing list