This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]