Problem compiling DLL

Daniel Adolfsson daniel.adolfsson@gmail.com
Thu Aug 23 13:08:00 GMT 2007


Hi,
I tried to compile a shared library, a DLL, using GCJ on mingw.

Shouldn't the following line work?
gcj -shared -o test.dll somefile.jar

It keeps complaining about "undefined reference to `_WinMain@16'"

Any ideas?

Thanks,
Daniel



More information about the Java mailing list