GCJ static executable

squeeto@canada.com squeeto@canada.com
Mon Aug 18 02:30:00 GMT 2003

Okay, I am now subscribed, so I should be able to
'Follow-Up' now (or after this last one).

You wrote-
> it means the class specified by your --mail=@@@
option is not found

I guess --main=@@@
It's funny that the non-fully-static version worked
right out of the box with-
gcj -O2 --classpath=.\swt.jar --main=test1 -o test1
test1.java -L. -lswt

but the static version should balk for test1.java with-
gcj -O2 -I .\swt.jar -Xlinker --start-group libswt.a
-Wl,--whole-archive libswtjni.a -Wl,--no-whole-archive
-Xlinker --end-group test1.java --main=test1 -o test1

More information about the Java mailing list