fpco / inline-c

284 stars 50 forks source link

inline-c does not work in IHaskell (Jupyter) notebook #94

Closed idontgetoutmuch closed 5 years ago

idontgetoutmuch commented 5 years ago

image

bitonic commented 5 years ago

@idontgetoutmuch , how did you solve this? Presumably by setting -fobject-code somewhere?

idontgetoutmuch commented 5 years ago

I didn't solve it. I realised it was not a sensible thing to try to do.

bitonic commented 5 years ago

Ah, OK. For future users of IHaskell, it looks like the problem is related to not passing -fobject-code to ghci, see https://github.com/fpco/inline-c/tree/master/inline-c#ghci .