首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不使用mingw-get将mingwrt安装到haskell-platform中

不使用mingw-get将mingwrt安装到haskell-platform中
EN

Stack Overflow用户
提问于 2014-08-18 03:15:24
回答 1查看 179关注 0票数 1

haskell-platform (2014.2.0.0)发布了MingGW,但没有使用mingw-get。但是,要编译haskell的setlocale绑定,我需要locale.h,它是mingwrt的一部分。

在通常的mingw安装中,我会使用mingw-get来安装mingwrt,但是因为它没有包含在haskell-platform中,所以无法开箱即用。

没有mingw-get的情况下安装mingwrt的通常方式是什么?

EN

回答 1

Stack Overflow用户

发布于 2014-08-18 18:15:13

安装MSYS^1

代码语言:javascript
复制
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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25352757

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档