GHC API: memory usage of loaded modules

Brandon Allbery allbery.b at
Thu Dec 15 15:45:58 UTC 2016

On Thu, Dec 15, 2016 at 1:55 AM, Evan Laforge <qdunkan at> wrote:

> It's confusing to me because traditionally -dynamic is a link only
> flag, but ghc also uses it for building .o files... I assume because
> of the ghci loading thing.

There may also be some OS X specific behavior here; OS X doesn't like
static objects much, due to its PPC heritage (the PPC ABI pretty much
restricts "normal" position-dependent static objects to the kernel).

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list