[Haskell-cafe] Cabal failures...

Erik de Castro Lopo mle+hs at mega-nerd.com
Sat Nov 24 03:46:37 CET 2012

kudah wrote:

> Personally, I successfully use Wine to build, ship and test for Windows.
> There are some pitfalls related to -optl-mwindows and encodings,
> but, if you launch your program with $LANG set to proper windows
> encoding like cp1251 and the std handles closed with  0>&- 1>&- 2>&-,
> it should crash on related errors the same way as on windows.
> I am not (yet) aware of any Haskell programs that don't run under Wine.

Thats a very interesting solution. I use Wine to run the test suite
when I cross compile one of my C projects from Linux to Wine.

Would you consider documenting the process of setting everything up
to build Haskell programs under Wine on the Haskell Wiki?

Erik de Castro Lopo

More information about the Haskell-Cafe mailing list