Duncan,

Okay... I'm pretty darned impressed.

I downloaded the packages and got my first Haskell/Glade app running in about the same amount of time as it took me to get my first VS.Net app up and running.

Thanks for the pointer to GTK2hs.

I hope to have a nice app to add to the list of Haskell apps pretty soon.

Thanks,

David

PS -- An extra big thanks to you and Stefan for your responsiveness!

On 8/1/07, Duncan Coutts <duncan.coutts@worc.ox.ac.uk> wrote:
On Wed, 2007-08-01 at 15:31 -0700, David Pollak wrote:
> Duncan,
>
> Many thanks to you as well!
>
> On 8/1/07, Duncan Coutts <duncan.coutts@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
>         single
>         >   file without worrying about including a bunch of DLLs/SOs?
>         The
>         >   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
> distribution...

Yes. Those are available here:
http://haskell.org/gtk2hs/win32/

As a demo of an windows installer for a prog that uses Gtk2Hs, see:
http://haskell.org/~duncan/gtk2hs/LSystemSetup.exe
(3.5Mb)

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:
http://packages.ubuntu.com/feisty/libdevel/libghc6-gtk-dev
but that version should be ok for most stuff you want to do.

Duncan




--
lift, the fast, powerful, easy web framework
http://liftweb.net