ghci in 7.8 uses the system linker. However, i suspect you'll find that linking to the objective c code works better when you COMPILE the haskell code first, then load in ghci

the way to do this directly from GHCI is to invoke ghci with the  -fobject-code flag. see https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci-obj.html

that may very well resolve your problems (i'm juggling a few other things right now so I can't immediately verify my claims myself)

On Wed, Mar 4, 2015 at 5:10 PM, Brandon Allbery <allbery.b@gmail.com> wrote:
On Wed, Mar 4, 2015 at 4:42 PM, Sean Seefried <sean.seefried@gmail.com> wrote:
Seems like pretty solid reasoning. I was unaware of this upcoming change. Can you tell me more about it? Which GHC release is it slated for? 7.12? 

Well, it was originally scheduled for 7.8. :/ I don't see it in 7.10 offhand, so I presume it got bumped again.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe