Re: [Haskell-cafe] Compiling a shared library on MacOS X

2010-01-04 Thread Chris Eidhof
I'm not sure if it is of any help, but at the haskell-wiki there's an article about how to communicate between Haskell and Objective-C using XCode: http://haskell.org/haskellwiki/Using_Haskell_in_an_Xcode_Cocoa_project -chris On 4 jan 2010, at 00:36, Ivan Miljenovic wrote: If I recall

Re: [Haskell-cafe] Compiling a shared library on MacOS X

2010-01-04 Thread Mark Wotton
There's a patch for it in GHC HEAD by Stephen Blackheath and me, and an accompanying patch for Cabal. http://hackage.haskell.org/trac/ghc/ticket/3550 http://hackage.haskell.org/trac/hackage/ticket/591 has the details. mark On Mon, Jan 4, 2010 at 10:36 AM, Ivan Miljenovic

[Haskell-cafe] Compiling a shared library on MacOS X

2010-01-03 Thread Jean-Denis Koeck
Hello, I'm using the following cabal file to build a shared library with ghc: Build-Type:Simple Executable libmylibrary.dll If os(windows) CPP-Options:-DWIN32 Extensions: ForeignFunctionInterface Build-Depends:... Main-Is:

Re: [Haskell-cafe] Compiling a shared library on MacOS X

2010-01-03 Thread Brandon S. Allbery KF8NH
On Jan 3, 2010, at 09:28 , Jean-Denis Koeck wrote: I'm using the following cabal file to build a shared library with ghc: I don't know if any released GHC knows how to do that yet. In any case it's still experimental. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell]

Re: [Haskell-cafe] Compiling a shared library on MacOS X

2010-01-03 Thread Ivan Miljenovic
If I recall correctly, dynamic linking/shared library support is not yet available for OSX, as the Industrial Haskell Group does not have any knowledge of OSX (but is willing to pay someone who does to do the work). 2010/1/4 Jean-Denis Koeck jdko...@gmail.com: Hello, I'm using the following