[solved] Re: [Haskell-cafe] Calling Haskell from C, Linking with gcc?

Chris Eidhof chris at eidhof.nl
Sun Nov 1 13:25:22 EST 2009


I can confirm that, if you follow the steps on the wiki, you'll end up  
with a working Mac application. Excellent work John, thanks very much!

-chris

On 30 okt 2009, at 00:53, John Velman wrote:

> It's taken 21 days with interruptions, but I finally posted a  
> tutorial with
> details of what I did on the Haskel Wiki.  Category:Tutorials,
> title: Using Haskell in an Xcode Cocoa project
>
> Hope it's clear.  Please send comments and suggestions.
>
> John V.
>
>
> On Thu, Oct 08, 2009 at 10:34:07AM +0200, Wouter Swierstra wrote:
>>
>> On 7 Oct 2009, at 23:39, John Velman wrote:
>>
>>> For anyone following this:  The XCode ld script is complex, and  
>>> has mac
>>> specific defaults early in the search path specification, and I  
>>> probably
>>> don't want to change these.  A library in a default path is the  
>>> wrong
>>> libgmp.[dylib | a].
>>
>> Is there any chance you'll write up exactly what you needed to do  
>> on a
>> blog/TMR article/Haskell wiki page? I've tried doing something  
>> similar, ran
>> into linking problems, and gave up my fight with XCode. I think  
>> this would
>> be a really useful resource for both Obj-C programmers looking into  
>> Haskell
>> and Haskell programmers who want to have a fancy Cocoa GUI. Thanks!
>>
>>  Wouter
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list