문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top