[Haskell-cafe] Some Haskell platformish questions

David Pollak feeder.of.the.bears at gmail.com
Wed Aug 1 18:49:13 EDT 2007


On 8/1/07, Stefan O'Rear <stefanor at cox.net> wrote:
>
> 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,

>From your message, I understood that I could statically link the libraries
and have a single large EXE.  I understood from Duncan's message that I
could not statically link to some DLLs.  I was somewhat confused... :-)

Thanks,

David

Stefan
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFGsQwxFBz7OZ2P+dIRAmYDAKC8VYaXv2O5q3ajHZibrABGh41E+ACgwcwA
> EkZ3zGUYvJxu6zRF6CPBR8g=
> =zCC2
> -----END PGP SIGNATURE-----
>
>


-- 
lift, the fast, powerful, easy web framework
http://liftweb.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070801/172e37b0/attachment.htm


More information about the Haskell-Cafe mailing list