Using cabal to build an exportable library?

I've been following this instructions at http://www.haskell.org/haskellwiki/Calling_Haskell_from_C to build a Haskell library which I can call from a C program. I'd like to use cabal to do the build in the future. Are there any examples showing how to do it?

On Fri, 2008-12-19 at 12:53 -0800, Justin Bailey wrote:
I've been following this instructions at http://www.haskell.org/haskellwiki/Calling_Haskell_from_C to build a Haskell library which I can call from a C program. I'd like to use cabal to do the build in the future.
As I'm sure you realised there's no particular support for it in Cabal at the moment. I added some notes recently to this ticket about what we would like to do: http://hackage.haskell.org/trac/hackage/ticket/148 Comments welcome. Duncan
participants (2)
-
Duncan Coutts
-
Justin Bailey