- 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 (e.g. 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 (e.g. additional libraries etc.)
Some possible solutions:
- Cross-compilation
- A free build service (e.g. like travis-ci, but for Windows)