statically linking

Bjorn Bringert bjorn at
Sun Feb 17 10:17:28 EST 2008

On Feb 17, 2008 3:32 PM, Martina Seidl <seidl at> wrote:
> Hallo,
> I urgently need a statically linked binary (ELF 32) of a Haskell program I
> have written and I could not figure out yet how to achieve this.
> Could anyone give me a hint please?
> Best regards,
> Martina

Hi Martina,


-static -optl-static

to your ghc command line normally does it.


More information about the Glasgow-haskell-users mailing list