0% found this document useful (0 votes)
29 views

Right Click On Computer (Or My Computer) 2. Click On Properties (Last Option)

This document provides instructions for modifying environment variables on a Windows computer to include the path for MinGW, an open-source compiler collection, allowing GCC commands to be run from the command prompt. It involves accessing advanced system settings and environment variables through the Control Panel, editing the Path variable to append the MinGW folder path separated by a semicolon, and testing the change by running gcc from a new command prompt.

Uploaded by

Mrinal Agarwal
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Right Click On Computer (Or My Computer) 2. Click On Properties (Last Option)

This document provides instructions for modifying environment variables on a Windows computer to include the path for MinGW, an open-source compiler collection, allowing GCC commands to be run from the command prompt. It involves accessing advanced system settings and environment variables through the Control Panel, editing the Path variable to append the MinGW folder path separated by a semicolon, and testing the change by running gcc from a new command prompt.

Uploaded by

Mrinal Agarwal
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

1.

Right Click on Computer (or My Computer)

2. Click on properties (last option)


3. Click on Advanced system settings (on Left hand pane)
4. Click on Environment Variables button
5. Double click on Path
6. Go to the end of Variable value:

Do not delete anything!


Add: ;D:\C\MinGW\bin (change with Drive and folder where u have
copied MinGW)
Dont forget ;
Test if ENV is correct

1. Open a new command prompt

2. Type gcc and press enter key.

3. If u get output like following window, ur env is set correctly.

CONGRATULATIONS!

You might also like