`
no7beckham
  • 浏览: 94798 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Mingw和MSYS的安装记录

阅读更多

1. 下载mingw-get并安装到C:\mingw这个目录

http://sourceforge.net/downloads/mingw/Automated%20MinGW%20Installer/mingw-get/

2. 把C:\mingw\bin加入到PATH环境变量中

3. 运行如下命令安装需要的package

mingw-get install package

当前可用的package如下:
mingwrt                     the mingw32 runtime libraries.
w32api                      the MS-Windows API bindings for mingw32.
binutils                      the GNU binary file utilities.
gcc                            the GNU C Compiler (currently v3.4.5)
g++                           the C++ front-end for GCC-3.4.5
g77                           the FORTRAN-77 front-end for GCC-3.4.5
ada                           the Ada front-end for GCC-3.4.5
java                          the java front-end for GCC-3.4.5
objc                          the Objective-C front-end for GCC-3.4.5
mingw32-make         native MS-Win32 build of GNU make.
4.下载MSYS并安装到c:\MSYS\1.0目录

http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe

5. 安装MSYS DTK到c:\MSYS\1.0目录

http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe

6. 解压MSYS CORE到c:\MSYS\1.0目录

http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/msys-1.0.11/msysCORE-1.0.11-bin.tar.gz/download

7. 设置环境变量HOME为C:\msys\1.0\home

 

分享到:
评论
2 楼 no7beckham 2011-08-22  
这个还不算明白啊,下载了mingw-get 后就可以再命令行里直接mingw-get install gcc这样的命令
1 楼 Wesley.S 2011-04-12  
兄弟,能说的明白点儿吗???

相关推荐

Global site tag (gtag.js) - Google Analytics