This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem compiling DLL


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]