Hi Esa, Have you tried to build DLL with Cabal using --mk-dll as you described? I just tried to use it for Visual Haskell but it doesn't work. It seems like when there is --make and -o options then GHC is looking for Main module and complains if there isn't. I remember that it wasn't working with the old GHC versions but you said that it should work with the recent GHC-6.6. Cheers, Krasimir On 7/28/06, Esa Ilari Vuokko <eivuokko@gmail.com> wrote:
Hi Jason and Krasimir
On 7/27/06, Krasimir Angelov <kr.angelov@gmail.com> wrote:
I am using the same technique to build VSHaskell itself.
Have you tried using --mk-dll with --make (ie only specifying extra ghc-flag in .cabal)? It should work with current ghc head, but not with the ghc coming with old Visual Haskell.
Best regards, --Esa