0% found this document useful (0 votes)
131 views1 page

C and CPP Windows Instalation

The document provides instructions for installing the MinGW compiler for C/C++ programming on a Windows operating system. It involves downloading an executable file from a provided disc, running the installer and following prompts to accept agreements and select components until the gcc compiler is installed. Additional steps include setting the system path variable to include the compiler bin directory so gcc commands can be run from the command prompt to verify successful installation.

Uploaded by

Swapnil Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views1 page

C and CPP Windows Instalation

The document provides instructions for installing the MinGW compiler for C/C++ programming on a Windows operating system. It involves downloading an executable file from a provided disc, running the installer and following prompts to accept agreements and select components until the gcc compiler is installed. Additional steps include setting the system path variable to include the compiler bin directory so gcc commands can be run from the command prompt to verify successful installation.

Uploaded by

Swapnil Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Instruction Sheet for Installing MinGW

for C/C++ in Windows OS


Spoken Tutorial Team, IIT Bombay
1

Install Firefox
1. You have been given a disc with the some folders/files.
2. Please locate the folder "install".
3. Please locate the executable file firefox-21.exe and double-click on this file to run.
4. Follow all the instructions to install Firefox.

The procedure to install MinGW Compiler (for C/C++)


1. To follow the installation procedure, you need to be connected to the internet.
2. You have been given a disc with the some folders/files
3. Please locate the folder "install"
4. Please locate the executable file mingw-get-inst-20120426.exe
5. Click on this .exe file
6. A dialog box appears prompting you to Run the file.
7. Click on Run.
8. This opens the Installation Wizard.
9. Click on Yes.

10. Then keep clicking on Next.


11. Click on the I accept the agreement button.
12. Then keep clicking on Next.
13. Now check the option for C++ Compiler.
14. Click on Install
15. Finally, click on Finish. This will install gcc compiler on your system.
16. Close the text file.
17. Next, we need to set the path for the System Variables.
18. Right-click on My Computer.
19. Click on Properties.
20. Then click on the Advanced tab or Advanced System Settings link.
21. Click on Environment Variables.
22. Then under System Variables select the Path.
23. Double-click on the Path.
24. This will open a dialog box to edit the System Variable.
25. In Variable value, type the location where the bin file is present.
For example: C:/MinGW/bin
26. Now, open the command prompt and type gcc -v
27. This will display the version no. of the gcc installed.
28. In this case, it will display gcc version 4.6.2 <gcc>.
29. However, the version of gcc / g++ may possibly vary.
30. This shows that, the installation is successfully done.

You might also like