Hi Simon,

 

You need

 

export MSYSTEM=MINGW64

 

in your bash profile.

 

Regards,

Tamar

 

From: Simon Peyton Jones via ghc-devs
Sent: Friday, March 23, 2018 22:21
To: ghc-devs@haskell.org
Subject: Windows

 

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.

I’m currently stuck here:

./configure

configure: loading site script /usr/local/etc/config.site

checking for gfind... no

checking for find... /usr/bin/find

checking for sort... /usr/bin/sort

checking for GHC version date... inferred 8.5.20180323

checking for GHC Git commit id... inferred affdea82bb70e5a912b679a169c6e9a230e4c93e

checking for ghc... /c/fp/HP-8.2.2/bin/ghc

checking version of ghc... 8.2.2

GHC path canonicalised to: c:/fp/HP-8.2.2/bin/ghc

checking build system type... x86_64-pc-msys

checking host system type... x86_64-pc-msys

checking target system type... x86_64-pc-msys

Unknown OS msys

Any ideas?

Thanks

Simon