how is Linux GHC formed?

Jason Dusek jason.dusek at
Tue Nov 11 20:04:25 EST 2008

  How was the Linux binary for GHC created? I am looking at ways
  to compile Haskell binaries for Linux that work across
  distros. So far, I have been using `-static -optl-static` but
  today there was a weird hiccup with IO -- the Gentoo built
  binary worked fine on Gentoo but caught SIGPIPE intermittently
  on Ubuntu -- and so it's back to the drawing board.

  The GHC linux binary seems to work on all the Linii without
  discrimination, so I'd like to know what the procedure is for
  producing it, and what I can take away from that to put in my
  Cabal file.


More information about the Glasgow-haskell-users mailing list