[Haskell-cafe] Re: Static linking

Michael Oswald michael.oswald at siemens.com
Fri Jul 24 08:09:16 EDT 2009


Marcin Kosiba <marcin.kosiba <at> gmail.com> writes:

> 	Try:
> 	ghc --make Installer.hs -static -optl-static -optl-pthread
> 

Ah, that fixed it. Thanks a lot!


> If that doesn't work, you can always do a ghc -v, find the command it uses for 
> linking, modify it and run it manually.

Peter suggested this, but I ran into other problems. But since it works now, I'm
happy with it! Thanks again!

lg,
Michael




More information about the Haskell-Cafe mailing list