gcj link
Steve Ni
list@boyi-online.com
Mon Apr 7 10:57:00 GMT 2003
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)
My puzzle is, I only know the static link will look like:
gcj --main=my -o mypgm.exe mypgm.o swt.o
NOTICE: here, swt is ".o"
It means link swt.o and mypgm.o to mypgm.exe. But the former gcj command
seems link a dynamic library into a exe?!
More information about the Java
mailing list