gcj link

Andrew Haley aph@redhat.com
Mon Apr 7 10:58:00 GMT 2003


Steve Ni writes:
 > Hi, a basic question, what's mean of this sentence:
 > 
 > gcj --main=my -o mypgm.exe mypgm.o swt.so
 > NOTICE: swt is ".so" but not ".a" or ".o". It means swt.so is a dynamic
 > link library( when compile swt.so, use -shared option)
Name your shared object file libswt.so. Then link with
gcj --main=my -o mypgm.exe mypgm.o -L. -lswt
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /