[Haskell-cafe] ghci and dynamically linking to Objective-C objects on Mac OS X
carter.schonwald at gmail.com
Thu Mar 5 14:41:10 UTC 2015
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
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 at gmail.com> wrote:
> On Wed, Mar 4, 2015 at 4:42 PM, Sean Seefried <sean.seefried at gmail.com>
>> 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
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe