[Haskell-cafe] Re: Static linking

2009-07-24 Thread Michael Oswald
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

[Haskell-cafe] Re: static linking

2008-05-28 Thread Peter Gammie
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 ...

[Haskell-cafe] Re: static linking

2008-05-28 Thread Simon Marlow
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 ...