How To Install GCC On Windows - part 01

Welcome back to Think & Free. Here is the Another Episode of Express Learning tutorial Series. But Not a Programming lesson. Today I will show you how to install GNU GCC Compiler on your Windows System. The GNU GCC Compiler comes with a MinGW Environment setup for Windows. MinGW is an Open Source Software Development Kit with a GNU Projects. It is the best way to install GNU GCC Compiler on Windows System. Let’s try how to install GNU GCC Compiler on Windows System using the MinGW Development kit.

About MinGW

The MinGW – The Minimalist GNU for Windows, is a minimalist development environment for native windows applications. It includes GNU Compiler Collection, C, C++, ADA, and Fortran compilers. MinGW is a Complete Open Source Project.

Let’s look at how to get and set up MinGW on Windows System. First We need to get to download the MinGW installer to our Windows system. for do that go to the official MinGW Web site and download a fresh copy of the latest version of the MinGW installer. Here is the link.

Download MingGW Installer

Here is the link for getting download the MinGW web-installer setup. After the downloading process will be done, Now go to the download location and right-click on the downloaded setup file and open it as Administrator mode.

Let’s Install GCC On Windows Using MinGW

Now we can see MinGW Installation Manager Setup Tool main window with some information notice about MinGW. On the top, we can see version information and some Copywrite notice. see the left bottom side Install button. Go there and hit that Install button.

Now you can see Step 1: Specific Installation Preferences Window. This window provides where the installation directory you need to install MinGW. Default Installation directory set’s to C:\MinGW. If you need to change it You can do it from selecting Change Option.

And This Window Provides some other Options called “User interface Options“. If you need MinGW with only Command Line Interface you can remove the tick option in “… also install support for the graphical user interface option” or If you wish you need both CLI & GUI Options. No problem, you can stay with Defaults.

This window will be asked for you how should be installed MinGW Program on your system. is it just for only you? or wish for all users? you can simply select it from there. After doing changes hit the Continue button in the bottom left corner. Wait a few seconds while Completing the Download MinGW installation manager.

After the download process will be completed, Hit the Continue Button in Bottom left corner. Now you can see MinGW Installation Manager Window will open. Go there and make sure, you were Selected Basic Setup in the left side pane. In the MinGW Installation Manager window, look at the right pane you can see what are the packages MinGW provides.

See the beginning of packages, you can see a little checkbox. go there and tap on it. Now you can see a little pop-up window with some options.

Downloading Packages to Install GCC

For Install GNU GCC Compiler on Windows System, we must install these three of the packages.

  • mingw32-base-bin
  • mingw32-gcc-g++-bin
  • msys-base-bin

You can mark for installation these three packages. One by one. Go to beginning of these packages and tap the little checkbox and select the option “Mark for Installation“.

Make sure you will select correctly these three packages. Let’s get download and install. Now go to the top left corner and select “Apply Changes” in the Installation menu.

Now It will prompt another window named “Schedule of Pending Actions“. Hit the Apply button to get install the selected packages in that window.

Now the Downloading Process will be started, you can see a little window with progress level. Please wait a couple of minutes once this Downloading process complete.

After the Downloading process will be completed starting the installer. and prompt a new window “Applying Scheduled Changes” wait until the installation will be done. After the complete installation completed you can close that window.

Now you can see our packages installation process has been completed. Make sure in your MinGW Installation Window will Indicate a green color checkbox with selected Packages. That means Installation Process Completed.

That’s it about the installation process of MinGW on Windows. This does not end yet. In the next lesson, we’ll look at how to configure correctly MinGW with Path Variables in Windows System. Leave a comment if you have some questions or anything about this.

2 thoughts on “Express Learning – How To Install GCC On Windows

Leave a Reply

Your email address will not be published. Required fields are marked *