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>