
Hi Serguey,
I notice you are using GHC 6.10.3, I suggest you try 6.10.4 which I
know does work.
I rewrote that section of the manual recently. I haven't had time to
merge it back in, but it might give you more help:
http://neilmitchell.blogspot.com/2009/11/haskell-dlls-on-windows.html
Thanks, Neil
On Tue, Feb 16, 2010 at 2:33 PM, Serguey Zefirov
I tried the way described in http://www.haskell.org/ghc/docs/latest/html/users_guide/win32-dlls.html and i got this error message:
-------------------------------------------------------------------------------------------- ghc -shared -o test.dll --make test.hs [1 of 1] Compiling Test ( test.hs, test.o ) ghc.exe: panic! (the 'impossible' happened) (GHC version 6.10.3 for i386-unknown-mingw32): link: GHC not built to link this way: LinkDynLib
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug -------------------------------------------------------------------------------------------- How can I fix it? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe