How to install and setup the mingw compiler for both C and C++.
Steps to install mingw compiler tools in windows
- Download the mingw installer form the internet.
- Open the Installer and install it. It show the default location accept it.
- Then now open the mingw installer form the menu and click update catlog, in upper menu.
- Now the select the mingw32-base ,mingw32-gcc=g++ and mingw32-gcc-objc for
- Now click on Apply Catlog or update Catlog in upper menu
- Now wait for the totall installation has been completed.
- After finishing the installtation close the catlog. and open the system variables for the search bar.
- Now select the user variables or system variables and click edit.
- Now browse the location of mingw/bin where you give in the step of installation.
- Now click on save.
- And now open cmd and try this commands to check wheater the c and C++ compilers had been installed on your computer.
- gcc --version and g++ --version.