I have a simple, self contained, open source Haskell app that compiles on a Windows system with cabal build
. Let's assume it uses one or two nontrivial C libraries, such as OpenGL. I develop on Linux, with no access to a Windows machine. Question : How do I compile my app to a simple .exe
file that Windows users can download and run without further hassles?
Restrictions:
No paid-for build services (eg AppVeyor) No usage of non-free software on my part (in particular, I won't install Windows) No installation of a Haskell development environment on the client side If possible, no installation of third party software on the client side (eg additional libraries etc.) Some possible solutions:
Cross-compilation A free build service (eg like travis-ci, but for Windows)
链接地址:
http://www.djcxy.com/p/64066.html
上一篇:
带有余烬的单个记录持久性
下一篇:
如何编译或部署到Windows的Haskell可执行文件