Re: [Haskell-cafe] Export Haskell Libraries

2007-04-14 Thread Duncan Coutts
On Thu, 2007-04-12 at 23:38 -0700, SevenThunders wrote: > > I saw a lot of options for places to put sources and targets, but I couldn't > quite figure out how to configure it to place the object file output. No > doubt > it's there, I just couldn't find it in the 45 min.s or so that I looked f

Re: [Haskell-cafe] Export Haskell Libraries

2007-04-12 Thread SevenThunders
Duncan Coutts wrote: > > > > So it's easy if you link the system using ghc. If you want to link it > all using gcc instead, yeah, that's a bit harder. You can see most of > the flags ghc passes to gcc as they're just in the package configuration > for the rts and base packages (ghc-pkg display

Re: [Haskell-cafe] Export Haskell Libraries

2007-04-12 Thread Duncan Coutts
On Thu, 2007-04-12 at 21:48 -0700, SevenThunders wrote: > I guess I am surprised that on linux, with all of it's amazing software > development tools, that Haskell export libraries would be this tricky to > develop. I guess it's because most of the existing Haskell hackers are going the other dir

[Haskell-cafe] Export Haskell Libraries

2007-04-12 Thread SevenThunders
I've finished a good sized Haskell project which I now must expose as a library (along with a lot of C code) to my fellow engineers. I had originally devoped my code on Windows XP and managed to learn how to wrap my Haskell code in a DLL and create an MSVC linkable library stub for the DLL. Alth