Is it possible to build ghc with static linkage to its dependencies?

Thomas Miedema thomasmiedema at
Thu Sep 17 10:18:12 UTC 2015

If it's just that is outdated, you could try uncommenting the
line in that says:

libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-intree-gmp

On Thu, Sep 17, 2015 at 5:34 AM, Hengchu Zhang <
hengchu.zhang+ghcdev at> wrote:

> Hi GHC Devs,
> I'd like to build ghc for an environment (linux x86_64) that I don't fully
> control, and most importantly on that environment is severely
> outdated. I was wondering if I can build ghc on another linux x86_64
> machine but link in all the dependencies as static libraries instead
> finding them as dynamic libraries?
> Thank you!
> Best,
> Hengchu
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list