Problems creating a DLL with ghc-5.02.1

Lehti, Patrick
Thu, 6 Dec 2001 15:04:57 +0100


I tried to wrap a Haskell application in a DLL using ghc-5.02.1. But this is
not working, with cygwin in path I got this error message:
/usr/lib/mingw/libmingw32.a(gccmain.o)(.text+0x88):gccmain.c: multiple
definition of `__main'
/usr/lib/libm.a(ds00023.o)(.text+0x0): first defined here

... and without cygwin in path, it could not find "dllwrap" and "dlltool".

Is there any solution for this problem?