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