<div dir="ltr">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<div><br></div><div>the way to do this directly from GHCI is to invoke ghci with the <span style="color:rgb(0,0,0);font-family:sans-serif;font-size:medium"> </span><code class="" style="color:rgb(0,0,0)">-fobject-code </code>flag. see <a href="https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci-obj.html">https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci-obj.html</a></div><div><br></div><div>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)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 5:10 PM, Brandon Allbery <span dir="ltr"><<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Wed, Mar 4, 2015 at 4:42 PM, Sean Seefried <span dir="ltr"><<a href="mailto:sean.seefried@gmail.com" target="_blank">sean.seefried@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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? </div></blockquote><div><br></div></span><div>Well, it was originally scheduled for 7.8. :/ I don't see it in 7.10 offhand, so I presume it got bumped again.</div><div><br></div></div><span class="">-- <br><div><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</span></div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>