RE: [Haskell-cafe] Bulding a library for C users on OS X

2009-11-02 Thread Simon Peyton-Jones
l Cafe | Subject: Re: [Haskell-cafe] Bulding a library for C users on OS X | | 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

Re: [Haskell-cafe] Bulding a library for C users on OS X

2009-11-02 Thread Chris Eidhof
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 f

Re: [Haskell-cafe] Bulding a library for C users on OS X

2009-11-01 Thread Manuel M T Chakravarty
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: > gh