This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ static executable
- From: squeeto at canada dot com
- To: paul at gear dot dyndns dot org
- Cc: java at gcc dot gnu dot org
- Date: Sun, 17 Aug 2003 19:30:28 -0700 (PDT)
- Subject: Re: GCJ static executable
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
-export-dynamic