Windows 10 个更新似乎破坏了 GHC
Windows 10 update appears to have broken GHC
我的构建中有最新的 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 文件。
我在哪里可以找到合适的 gcc.exe 文件,我应该把它放在哪里(假设 Haskell 平台的标准安装)?
GCC 应该在您的安装目录中 mingw\bin
,例如
C:\Program Files\Haskell Platform.0.2\mingw\bin\gcc.exe
可以在您的链接存储库中找到合适的二进制文件。用于 GHC 8.0.X 的应该适合你。如果您安装了平台的 64 位变体,请务必使用 x64
,否则请使用 x86
。
截至 2017 年 4 月 20 日 1700 UTC 这似乎是这样的过程:
- 下载 version of GHC 8.0.2 with the Windows 10 patch (As described here.).
- 打开存档文件。 Windows 10 的本地存档浏览器不理解 .tar.xz 格式,因此您需要 7-Zip 之类的东西才能打开它。
- 找到
\ghc-8.0.2\mingw\bin\
下的“gcc.exe
”文件,复制到C:\Program Files\Haskell Platform.0.2\mingw\bin\
下的文件上。
我的构建中有最新的 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 文件。
我在哪里可以找到合适的 gcc.exe 文件,我应该把它放在哪里(假设 Haskell 平台的标准安装)?
GCC 应该在您的安装目录中 mingw\bin
,例如
C:\Program Files\Haskell Platform.0.2\mingw\bin\gcc.exe
可以在您的链接存储库中找到合适的二进制文件。用于 GHC 8.0.X 的应该适合你。如果您安装了平台的 64 位变体,请务必使用 x64
,否则请使用 x86
。
截至 2017 年 4 月 20 日 1700 UTC 这似乎是这样的过程:
- 下载 version of GHC 8.0.2 with the Windows 10 patch (As described here.).
- 打开存档文件。 Windows 10 的本地存档浏览器不理解 .tar.xz 格式,因此您需要 7-Zip 之类的东西才能打开它。
- 找到
\ghc-8.0.2\mingw\bin\
下的“gcc.exe
”文件,复制到C:\Program Files\Haskell Platform.0.2\mingw\bin\
下的文件上。