This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Problem compiling DLL
- From: "Daniel Adolfsson" <daniel dot adolfsson at gmail dot com>
- To: java at gcc dot gnu dot org
- Date: Thu, 23 Aug 2007 15:08:41 +0200
- Subject: Problem compiling DLL
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