How to produce a statically linked binary with GHC?

Nicola Squartini tensor5 at gmail.com
Tue Aug 12 15:36:12 EDT 2008


It seems that the -static flag serves a different purpose: according to the
GHC manual it forces the compiler use the static Haskell libraries, but the
resulting binary is still dynamically linked to the C libraries. What is the
correct flag to create a static binary? Thanks

Best Regards
Nicola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20080812/9daaee16/attachment.htm


More information about the Glasgow-haskell-users mailing list