[Haskell-cafe] Ease of Haskell development on OS X?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sat Mar 21 09:22:45 EDT 2009


On Fri, 2009-03-20 at 15:22 -0400, Jeff Heard wrote:
> As this continues to build, I guess the issue for me, and I'm willing
> to help with it, is trying to figure out how to redistribute programs
> written with gtk2hs.  on Windows, people can just install the gtk2hs
> libraries via the installer -- although this does bork a little
> because it assumes you have a haskell compiler on the machine.

It's quite possible to make a Windows installer that just bundles the
Gtk+ dlls and does not need ghc etc. For example, here's a demo:

http://haskell.org/~duncan/gtk2hs/LSystemSetup.exe

It's an installer (built using InnoSetup - which is Free software) for a
Haskell program that uses gtk2hs and opengl. It installs on a clean
machine, no gtk2hs or ghc is required.

Constructing such an installer is not hard. The zip files containing all
the necessary gtk dlls are available so it's just a matter of the
installing them all along with your application .exe file.

Duncan



More information about the Haskell-Cafe mailing list