
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
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