<div dir="ltr">Sure, but shouldn't we perhaps just fix GHCi so that it does deal with frameworks properly?</div><div class="gmail_extra"><br><div class="gmail_quote">On 1 March 2015 at 18:25, 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"><span class=""><div class="gmail_quote">On Sun, Mar 1, 2015 at 1:09 AM, 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">However, it doesn't seem like I should have to do this. Where am I going wrong?</blockquote></div><br></span>My guess is that the linker used by ghci (which is not the system linker, although there is ongoing work on that front) doesn't know how to deal with frameworks properly. You might have better luck turning your .o into a .dylib and linking *that* against the Foundation framework.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">-- <br></div><div class="gmail_extra"><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>
</div></font></span></div>
</blockquote></div><br></div>