Using c2hs on Windows

人走茶凉 提交于 2019-12-24 03:26:42

问题


I'm trying to use the libxml-enumerator package on Windows, which (ultimately) needs to use c2hs. When trying to build the relevant package, I get the seemingly infamous "does not exist" error from c2hs. This seems to be related to not having GCC installed, but this seems a list strange, since I've added Haskell's copy of gcc.exe to my path.

Does anyone know how to defeat this bug?


回答1:


Turns out the answer is to install MinGW by itself and not rely on the MinGW included with GHC. Hope this helps someone in the future.



来源:https://stackoverflow.com/questions/4267011/using-c2hs-on-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!