Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 10 update appears to have broken GHC

I have the latest Haskell Platform (8.0.2) and it appears that the forced update of Windows10 (1703) has broken GHC. There is a ticket (#13411) about this, and it seems like I need to replace the gcc.exe file in my build.

Where do I find the appropriate gcc.exe file and where do I put it (assuming standard installation of the Haskell Platform)?

like image 798
John F. Miller Avatar asked Apr 20 '17 16:04

John F. Miller


People also ask

Where is GHC installed Windows?

On Windows, all of GHC's files are installed in a single directory. You can override it, but by default this directory is c:/ghc/ghc- version . The executable binary for GHC will be installed in the bin/ sub-directory of the installation directory.


1 Answers

GCC should be in mingw\bin in your installation directory, e.g.

C:\Program Files\Haskell Platform\8.0.2\mingw\bin\gcc.exe

The appropriate binary can be found in your linked repository. The one meant for GHC 8.0.X should suite you fine. Be sure to use the x64 one if you've installed the 64bit variant of the platform, and x86 otherwise.

like image 67
Zeta Avatar answered Sep 28 '22 15:09

Zeta