Windows build

Simon Peyton-Jones simonpj at
Mon Nov 11 22:10:04 UTC 2013

Austin, or others,
It would be SO GREAT if it was possible to validate on Windows again.
Currently I'm using msys2, which builds GHC fine, but things fail badly in the testsuite.

Traceback (most recent call last):

  File "../driver/", line 144, in <module>

    raise Exception("Can't detect Windows terminal type")

Exception: Can't detect Windows terminal type

uname -s returns MINGW_NT-6.2
Changing the test from
    elif v.startswith("MINGW32"):
    elif v.startswith("MINGW"):
just produces a new error

Traceback (most recent call last):

  File "../driver/", line 155, in <module>

    mydll = ctypes.windll

AttributeError: 'module' object has no attribute 'windll'

../mk/ recipe for target 'test' failed

It's all very frustrating because I can't validate.  Can anyone help?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list