[Haskell-cafe] Some Haskell platformish questions
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?
> > > > 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?)
>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... :-)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> -----END PGP SIGNATURE-----
lift, the fast, powerful, easy web framework
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe