GHC API: memory usage of loaded modules

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


On Thu, Dec 15, 2016 at 1:55 AM, Evan Laforge <qdunkan at gmail.com> 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 gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20161215/83bfa23d/attachment.html>


More information about the Glasgow-haskell-users mailing list