Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top