To build GHC on Windows you usually need to jump through a lot of hoops, which may be confusing even for experienced GHC developers.
Hadrian to the rescue!
Hadrian, a new build system for GHC that I’ve been developing, is written in Haskell and can therefore be built and run via Stack that can install appropriate bootstrapping GHC and MSYS2 environment in an automated and robust way. This was first pointed out by Neil Mitchell, and I’ve recently simplified build instructions even further. The latest version of the instructions is maintained here.
Continue reading Build GHC on Windows using Hadrian and Stack