
29 Aug
2014
29 Aug
'14
12:22 p.m.
2014-08-29 17:59 GMT+02:00 kyra
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.