[Haskell-cafe] Some Haskell platformish questions
duncan.coutts at worc.ox.ac.uk
Wed Aug 1 18:55:04 EDT 2007
On Wed, 2007-08-01 at 15:31 -0700, David Pollak wrote:
> Many thanks to you as well!
> On 8/1/07, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> wrote:
> On Wed, 2007-08-01 at 13:48 -0700, David Pollak wrote:
> > * Can GHC generate stand-alone executables with all the
> > dependencies linked in such that I can distribute the
> > file without worrying about including a bunch of DLLs/SOs?
> > answer seems to be yes, but I wanted to confirm.
> Yes, but the same is not true of any C dlls you link to, eg
> GUI libs like gtk or wx.
> Okay... so I'll have to include the (for example GTK2 DLLs) with the
Yes. Those are available here:
As a demo of an windows installer for a prog that uses Gtk2Hs, see:
At some point I intend to write some more detailed instructions on this,
but in the mean time you can probably figure it out from the example.
It's just a matter of putting the right dlls and other file in the right
place, the .zip files have the right directory structure all ready, so
that's pretty easy.
> I just grabbed a copy and installed it (on Ubuntu... my preferred
> development platform.)
Note that it looks like Ubuntu doesn't have the latest version yet:
but that version should be ok for most stuff you want to do.
More information about the Haskell-Cafe