This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problem compiling DLL
- From: Tom Tromey <tromey at redhat dot com>
- To: "Daniel Adolfsson" <daniel dot adolfsson at gmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 04 Sep 2007 09:40:50 -0600
- Subject: Re: Problem compiling DLL
- References: <d4bbdd470708230608i7710d821yddd5a3c4ccad1ca4@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "Daniel" == Daniel Adolfsson <daniel.adolfsson@gmail.com> writes:
I'm sorry for the delay in this reply.
Daniel> I tried to compile a shared library, a DLL, using GCJ on mingw.
Daniel> Shouldn't the following line work?
Daniel> gcj -shared -o test.dll somefile.jar
Daniel> It keeps complaining about "undefined reference to `_WinMain@16'"
I don't think compiling to .dll works with gcj.
Search through the archives a bit, I think this has been discussed a
few times in the past.
Tom