How do I add the MinGW bin directory to my system path?
I am using Windows XP. I am trying to add a new library to Dev-C++. For that, I need to install MinGW and then I have been instruct开发者_开发技巧ed to add the 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.
To change the path on Windows XP, follow these instructions, and then add the directory where you install MinGW plus bin
. Example: if you install MinGW in C:\ then you have to add C:\mingw\bin
to your path
Just for completeness here are the steps shown on the link:
- From the desktop, right-click My Computer and click Properties.
- In the System Properties window, click on the Advanced tab.
- In the Advanced section, click the Environment Variables button.
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 Files;C:\Winnt;C:\Winnt\System32;c:\mingw\bin
精彩评论