[Haskell-cafe] ghci and dynamically linking to Objective-C objects on Mac OS X

Brandon Allbery allbery.b at gmail.com
Sun Mar 1 07:25:10 UTC 2015

On Sun, Mar 1, 2015 at 1:09 AM, Sean Seefried <sean.seefried at gmail.com>

> However, it doesn't seem like I should have to do this. Where am I going
> wrong?

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.

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/haskell-cafe/attachments/20150301/9fcfad70/attachment.html>

More information about the Haskell-Cafe mailing list