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
Hello,
Further on my static linking woes:
debian ~$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.2
-debian ~$ cat T.hs
main :: IO ()
main = putStrLn Hello world
-debian ~$ ghc -optl-static -static --make T.hs
Linking T ...
Peter Gammie wrote:
Hello,
Further on my static linking woes:
debian ~$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.2
-debian ~$ cat T.hs
main :: IO ()
main = putStrLn Hello world
-debian ~$ ghc -optl-static -static --make T.hs
Linking T ...