[Haskell-cafe] DLL on Windows

Serguey Zefirov sergueyz at gmail.com
Tue Feb 16 09:33:50 EST 2010


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?


More information about the Haskell-Cafe mailing list