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

Sean Seefried sean.seefried at gmail.com
Wed Mar 4 21:34:57 UTC 2015


Sure, but shouldn't we perhaps just fix GHCi so that it does deal with
frameworks properly?

On 1 March 2015 at 18:25, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Sun, Mar 1, 2015 at 1:09 AM, Sean Seefried <sean.seefried at gmail.com>
> wrote:
>
>> 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/20150305/45f68e0b/attachment.html>


More information about the Haskell-Cafe mailing list