<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.CodeChar
        {mso-style-name:"Code Char";
        mso-style-link:Code;
        font-family:"Courier New";}
p.Code, li.Code, div.Code
        {mso-style-name:Code;
        mso-style-link:"Code Char";
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi Simon,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>You need</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>export MSYSTEM=MINGW64</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>in your bash profile.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,</p><p class=MsoNormal>Tamar</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:ghc-devs@haskell.org">Simon Peyton Jones via ghc-devs</a><br><b>Sent: </b>Friday, March 23, 2018 22:21<br><b>To: </b><a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br><b>Subject: </b>Windows</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='mso-margin-top-alt:6.0pt;margin-right:0in;margin-bottom:6.0pt;margin-left:0in'><span lang=EN-GB>I’ve just got  a new laptop (the old one’s hard disk died) so I’m trying to get to the point of being able to build GHC again.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:6.0pt;margin-right:0in;margin-bottom:6.0pt;margin-left:0in'><span lang=EN-GB>I’m currently stuck here:<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>./configure<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>configure: loading site script /usr/local/etc/config.site<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking for gfind... no<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking for find... /usr/bin/find<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking for sort... /usr/bin/sort<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking for GHC version date... inferred 8.5.20180323<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking for GHC Git commit id... inferred affdea82bb70e5a912b679a169c6e9a230e4c93e<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking for ghc... /c/fp/HP-8.2.2/bin/ghc<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking version of ghc... 8.2.2<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>GHC path canonicalised to: c:/fp/HP-8.2.2/bin/ghc<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking build system type... x86_64-pc-msys<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking host system type... x86_64-pc-msys<o:p></o:p></span></p><p class=Code><span lang=EN-GB style='font-size:9.0pt'>checking target system type... x86_64-pc-msys<o:p></o:p></span></p><p class=Code><b><span lang=EN-GB style='font-size:9.0pt;color:red'>Unknown OS msys<o:p></o:p></span></b></p><p class=MsoNormal style='mso-margin-top-alt:6.0pt;margin-right:0in;margin-bottom:6.0pt;margin-left:0in'><span lang=EN-GB>Any ideas?<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:6.0pt;margin-right:0in;margin-bottom:6.0pt;margin-left:0in'><span lang=EN-GB>Thanks<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:6.0pt;margin-right:0in;margin-bottom:6.0pt;margin-left:0in'><span lang=EN-GB>Simon<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>