haskell-platform (2014.2.0.0)发布了MingGW,但没有使用mingw-get。但是,要编译haskell的setlocale绑定,我需要locale.h,它是mingwrt的一部分。
在通常的mingw安装中,我会使用mingw-get来安装mingwrt,但是因为它没有包含在haskell-platform中,所以无法开箱即用。
没有mingw-get的情况下安装mingwrt的通常方式是什么?
发布于 2014-08-18 18:15:13
安装MSYS^1
Download version 1.0.11 of MSYS. You'll need the following files:
MSYS-1.0.11.exe
msysDTK-1.0.1.exe
msysCORE-1.0.11-bin.tar.gz
The files are all hosted on haskell.org as they're quite hard to find in the official MinGW/MSYS repo
Run MSYS-1.0.11.exe followed by msysDTK-1.0.1.exe. The former asks you if you want to run a normalization step. You can skip that.
Unpack msysCORE-1.0.11-bin.tar.gz into D:\msys\1.0. Note that you can't do that using an MSYS shell, because you can't overwrite the files in use, so make a copy of D:\msys\1.0, unpack it there, and then rename the copy back to D:\msys\1.0.^1Setting up a Haskell development environment on Windows
https://stackoverflow.com/questions/25352757
复制相似问题