<div dir="ltr"><div>Hi Simon,</div><div><br></div><div>If the build environment is managed by an MSYS2 installation, then the MinGW64 shell startup script automatically sets up "MSYSTEM" for you. It can be launched like "C:\msys64\msys2_shell.cmd -mingw64 -mintty".<br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 26, 2018 at 5:46 PM, Simon Peyton Jones via ghc-devs <span dir="ltr"><<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Making it part of the error message would be v helpful.<br>
<br>
I have added a section to "Troubleshooting" on<br>
<a href="https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows" rel="noreferrer" target="_blank">https://ghc.haskell.org/trac/<wbr>ghc/wiki/Building/Preparation/<wbr>Windows</a><br>
<br>
But it should really be part of the instructions higher up to sa<br>
        export MSYSTEM=MINGW64<br>
<br>
Might someone do that?  I wasn't quite sure where<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Simon<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
|  -----Original Message-----<br>
|  From: ghc-devs <<a href="mailto:ghc-devs-bounces@haskell.org">ghc-devs-bounces@haskell.org</a>> On Behalf Of Ben Gamari<br>
|  Sent: 24 March 2018 16:42<br>
|  To: Gabor Greif <<a href="mailto:ggreif@gmail.com">ggreif@gmail.com</a>>; <a href="mailto:lonetiger@gmail.com">lonetiger@gmail.com</a><br>
|  Cc: <a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
|  Subject: Re: Windows<br>
|<br>
|  Gabor Greif <<a href="mailto:ggreif@gmail.com">ggreif@gmail.com</a>> writes:<br>
|<br>
|  > Just an idea...<br>
|  ><br>
|  > could this hint be part of the `configure` error message?<br>
|  ><br>
|  Indeed. See D4526.<br>
|<br>
|  Cheers,<br>
|<br>
|  - Ben<br>
<br>
</div></div><div class="gmail-HOEnZb"><div class="gmail-h5">______________________________<wbr>_________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/ghc-devs</a><br>
</div></div></blockquote></div><br></div></div></div>