How to install GCC C/C++ Compiler on windows 10 ?
How to Download and How to install GCC on windows 10 ?
In this section , we’ll talk about ‘How to install mingw-w64 on windows 10’ ?
MinGW-w64 is a fork of MinGW that is designed to run on 64-bit Windows (as well as the 32-bit windows). http://mingw-w64.org/doku.php is the mother port.
GNU is a source of open source programming software, and MinGW stands for Minimalist GNU for Windows (GNU stands for GNU is Not Unix).
In this handout, you’ll get the files you’ll need for GNU C++, and in the next, you’ll get a version of Eclipse that’s already configured to work with MinGW.
Before you started, you might want to print these instructions so that you can refer to them when downloading and installing MinGW.
Alternatively, you should simply bookmark this page in your browser. Until executing the action mentioned in — step, make sure you read it absolutely.
How to Download and How to install GCC on windows 10 ? : —
We mention here download mingw gcc compiler for winodws.
- To download mingw gcc compiler Click here. Following Screen appear after open this link in new tab.
- Click on ‘mingw-get-setup.exe(86.5 kb)’ . This is MinGW installer setup.
- Following Screen appear . The file will starting automatically download in standard download folder. It will download quickly.
- Go into your downloads folder and run the .exe file.
- Then , a popup appear on screen. Click on yes.
- Following window appear on screen.
- Click on Install.
- Install on default directory or change if you want to change. Click Continue.
- Download is in process. mingw gcc compiler is downloading required files.
- Click Continue or press enter .
- Following window will appear after download is complete . check on mingw32-base , mingw32-gcc-g++ and msys-base.
- After click on checkbox click on installation and click on Apply.
- Following window will appear. Download is starting. This is final installation.
- Than close the window and go in the installation directory C:\MinGW .
- Go into bin folder. click on address bar and copy the path C:\MinGW\bin.
- Then , Go to System properties.
- Than go to Advanced system settings.
- Then , click on Environment variables to go into path setttings.
- Press click on Path and than click on Edit to add GCC to path variable.
- then , click on New to create new path variable .
- Paste the path variable copied you and click ok or press enter at last Now everything is ok. MinGW is successfully installed and added to path finally. Now you can also verify that MinGW is working or not.
Verify the installation command line/Command Prompt : —
Now everything is ok. Now You can also verify that the MinGW was successfully install on your computer in your command line -
- Open Command Prompt and type command gcc. The following window will appear after this command.
- You should get output : GCC: no input files. it means that the GCC successfully installed in your computer. If you get other output try again this process and verify again.
- Download any code/ text editor or IDE and you can also start coding .
Thank you for visiting our website and reading this blog post install GCC on windows 10 . We hope that this post was very helpful for you. If you think this post was helpful for you , please share it also.
Give us your feedback in comments. Continue visit our website to get daily more helpful posts. Thank you again.
For more helpful posts and updates please keep visiting our website also.
Check Full Post : — How to Install gcc for windows 10 ?