SWT newbie

Marilen Corciovei marilen.corciovei@nemesisit.ro
Tue Feb 4 21:40:00 GMT 2003


Hi, 
I succeded in building and running a native exe for my swt test app
using Ranjit infos. Thanks a lot.
(http://gcc.gnu.org/ml/java/2002-12/msg00105.html)
Still I was wondering if I could build the *.o resulted in a dll. I
tried:
gcj -shared -o swtjar.dll *.o
-Wl,--out-implib,libswtjar.a,--export-all-symbols
ls -l libswtjar.a
and then 
gcj --classpath=./swt.jar --main=SWTTest SWTTest.java -L. -mwindows
-lswtjar
this does not work, first it said some symbols are not defined. I tried
dlltool -> .def and with the --export-all-symbols it works.
Any ideea, thanks
Len
-- 
Marilen Corciovei <marilen.corciovei@nemesisit.ro>


More information about the Java mailing list

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