Vous êtes sur la page 1sur 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.

Vous aimerez peut-être aussi