Problems with building GHC 7.8.3 on Windows

Páli Gábor János pali.gabor at
Fri Aug 29 16:22:18 UTC 2014

2014-08-29 17:59 GMT+02:00 kyra <kyrab at>:
> it's extremely
> important to remember you must *not* use msys2_shell.bat to start MSYS2
> shell, only mingwXX_shell.bat (XX stands for 32 or 64) shall be used to
> start MSYS2 shell -- otherwise GHC make system would not recognize build
> triplet.

For what it is worth -- to my experience --, one could build GHC
successfully on Windows without using mingwXX_shell.bat.  Only the
MSYSTEM environment variable has to be set properly (to either MINGW32
or MINGW64).  That is what mingwXX_shell.bat also does.

More information about the ghc-devs mailing list