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

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


If it's just libgmp.so that is outdated, you could try uncommenting the
line in build.mk.sample 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 gmail.com> 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 libgmp.so 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 haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20150917/03002a27/attachment.html>


More information about the ghc-devs mailing list