
6 Dec
2001
6 Dec
'01
9:04 a.m.
Hi, 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? Patrick