On Thu, Dec 15, 2016 at 1:55 AM, Evan Laforge <qdunkan@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@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net