Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I add the MinGW bin directory to my system path?

Tags:

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 instructed 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.

like image 901
niro Avatar asked Apr 20 '11 15:04

niro


1 Answers

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:

  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 Files;C:\Winnt;C:\Winnt\System32;c:\mingw\bin

like image 158
Dave Avatar answered Oct 21 '22 09:10

Dave