Hi,

thanks for the report. First off, I should say that the 5.02 release
didn't focus on DLL production at all, so I'm not too surprised you're
coming across a gremlin or two.

However, I'm not able to reproduce the break you're experiencing,
my --mk-dll tests break much earlier than that. If you could provide
more info on the exact steps you followed, I'd appreciate it. The
nature of the bug I'm coming across is bad enough to render
--mk-dll unusable with 5.02.1, I'm afraid. The next release (and the
CVS repo sources) will include a fix.

Thanks for pointing out the omission of 'dllwrap'; it should of course
be included.

hth
--sigbjorn

----- Original Message ----- 
From: "Ronald Legere" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 20:42
Subject: Building dlls with ghc 


> Dear haskellers,
>    I have been trying to build a dll that has haskell
> functions in it, but it doesnt seem to be working in
> the latest 5.02.1 windows installer version. 
>  First, 
>   ghc --mk-dll ......
>   Doesnt do anything since it cannot find dllwrap,
> which
> doesnt come with the windows installer.
> 
>   Then, since I have cygwin (ver 1.3.5) i can put
> cygwin/bin on my path and try that, but not
> suprisingly that fails :) dllwrap runs fine, but then
> the linker complains about multiple definitions of 
> __main, in particular from libm.a(d000027.0) and 
> libmingw32.a(gccmain.o).  Note that I do routinely
> link up haskell executables in both dos shells and
> cygwin shells with no troubles though. 
>    I suppose that dll building just doesnt work at the
> moment, or do I just have a particulalry goofy 
> situation... or should I just try to build my own
> ghc in the cygwin environment so I am not mixing 
> things?? 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Buy the perfect holiday gifts at Yahoo! Shopping.
> http://shopping.yahoo.com
> 
> _______________________________________________
> Glasgow-haskell-bugs mailing list
> [EMAIL PROTECTED]
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to