Dynamic versions of 64 bit base libraries for GHC on Windows

Current binary GHC distribution (7.8.2) doesn't have dynamic base libraries ( base proper, ghc-prim etc). So it's not possible to use dynamic linking. (It's possible to produce a statically linked dll of course). So an older solution is outdated.

What is the easiest way to get 64-bit dynamic linking on Windows with 7.8.x?


Unfortunately the issue is serious, and neither 7.8 nor 7.10 have dynamic linking on Windows.

The problem is that with more features added to GHC some of GHC DLLs started to export more than 64k symbols. Which is impossible on Windows as 64k is an inherent limit of Windows dynamic linking.

So authors of GHC should rewrite it so it exports less symbols. Few solutions are outlined in the GHC bug tracker (one of them is splitting a big DLL into few smaller ones). But as far as I know nobody is working on this issue at the moment.

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

上一篇: 用GHC 64构建的简单Windows DLL

下一篇: Windows上GHC的64位基础库的动态版本