[Haskell-cafe] Some Haskell platformish questions

Stefan O'Rear stefanor at cox.net
Wed Aug 1 18:41:53 EDT 2007


On Wed, Aug 01, 2007 at 03:31:56PM -0700, David Pollak wrote:
> Duncan,
> 
> 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 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...

You can just use -static or -optl-static, which will cause C libraries
like gtk or wx to be bundled statically.  (Out of curiousity, what did I
actually convey when I tried to express that in my last message?)

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070801/fe80142f/attachment.bin


More information about the Haskell-Cafe mailing list