bit dll on Windows with GHC?

What I am looking for is exporting my haskell module as a 64-bit dll. My setup is 64-bit Windows 7 and Haskell Platform 2013.2.0.0.

I tried building with ghc --make -static -shared -fPIC ff.hs -o ff_dll.dll which works fine except for it produces 32-bit version (I managed to call it from another app).

So my question is: is it possible to build 64-bit dll with GHC on Windows?


You can get a 64-bit GHC from the official GHC website's download section. You can then cabal install haskell-platform to build the libraries that normally ship with the Platform.

链接地址: http://www.djcxy.com/p/5698.html

上一篇: 如何阅读GHC Core的“证明”?

下一篇: 与GHC的Windows上的位DLL?