Thank you Hamish, I'll apply your patches in due course. Axel
On May 10, 2010, at 4:44, Hamish Mackenzie wrote: > On 3 May 2010, at 22:54, Andy Stewart wrote: > >>> What is the plan for this in the cabalized version? >> Axel and I haven't Windows for test. >> >> Can you test it with Windows? >> >> Please report any problem here, I think Axel will help you. :) > > As expected ghci support on windows was broken. Template haskell > was also broken (preventing Yi from building with -f pango). > > I have sent patches that fixes the two issues that prevent loading > of gtk2hs in ghci and template haskell. > > One changes hsgthread.c to use a win32 critical section on windows. > The glib static mutex macros pulled in static symbols from glib and > this does not work in template haskell or ghci. > > The other patch adds code to Gtk2HsSetup.hs and pango/Setup.hs that > updates externalGhciLibraries on win32 systems by searching the PATH > for matching DLLs. This is the problem that fix-package-conf.sh used > to solve. The windows DLL names have -0.dll on the end, but because > there are no symbolic links on windows they could not be found. > > Hamish ------------------------------------------------------------------------------ _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel