如何添加MinGW bin目录到我的系统路径? [英] how to add MinGW bin directory to my system path?

查看:2081
本文介绍了如何添加MinGW bin目录到我的系统路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Windows XP。我试图添加一个新的库到我的Dev C ++。为此,我需要安装MinGW,然后我被指示将MinGW的bin目录添加到我的系统路径。但是,我不知道该怎么做。请指导我(逐步)将其添加到我的系统路径。

I am using Windows XP. I am trying to add a new library to my Dev C++. For that, I need to install MinGW and then I have been instructed to add bin directory of MinGW to my system path. But, I don’t know how to do it. Please guide me (step by step) to add this to my system path.

推荐答案

要更改Windows XP上的路径,请按照说明,然后添加安装MinGW和bin的目录。示例:如果您在c:\上安装mingw,则必须将c:\mingw\bin添加到您的路径

To change the path on windows xp follow this instructions then add the directory where you install MinGW plus bin. Example: if you install mingw on c:\ then you have to add c:\mingw\bin to your path

仅仅为了完整性,


  1. 在桌面上,右键点击我的电脑,然后点击属性。


  2. 在高级部分中,单击环境变量按钮。

  3. 最后,在环境变量窗口中,突出显示系统变量部分中的路径变量,然后单击编辑按钮。使用您希望计算机访问的路径添加或修改路径行。

  1. From the desktop, right-click My Computer and click Properties.
  2. In the System Properties window, click on the Advanced tab.
  3. In the Advanced section, click the Environment Variables button.
  4. Finally, in the Environment Variables window, highlight the Path variable in the Systems Variable section and click the Edit button. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.

C:\Program文件; C:\Winnt; C: \Winnt\System32; c:\mingw\bin

C:\Program Files;C:\Winnt;C:\Winnt\System32;c:\mingw\bin

这篇关于如何添加MinGW bin目录到我的系统路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆