Problem compiling DLL

Tom Tromey tromey@redhat.com
Tue Sep 4 16:02:00 GMT 2007


>>>>> "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


More information about the Java mailing list

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