On 2 nov 2009, at 03:30, Manuel M T Chakravarty wrote:
Chris Eidhof:
I'm trying to call a Haskell function from C, on OS X. There's an
excellent post [1] by Tomáš Janoušek that explains how to do this
on Linux. However, on OS X, it's different. First of all, it looks
like the -no-hs-main
There is some stuff on using the FFI under Collaborative documentation at
http://haskell.org/haskellwiki/GHC. The FFI link takes you to
http://haskell.org/haskellwiki/GHC/Using_the_FFI
It's called collaborative because it's When you solve your problem, can I
urge you to update that page (its
Chris Eidhof:
I'm trying to call a Haskell function from C, on OS X. There's an
excellent post [1] by Tomáš Janoušek that explains how to do this on
Linux. However, on OS X, it's different. First of all, it looks like
the -no-hs-main flag is ignored, because I get the following error:
Hey all,
I'm trying to call a Haskell function from C, on OS X. There's an
excellent post [1] by Tomáš Janoušek that explains how to do this on
Linux. However, on OS X, it's different. First of all, it looks like
the -no-hs-main flag is ignored, because I get the following error:
ghc