To check if GCC already exists by running the following command in your command promt gcc -v
-
Install MSYS2 MSYS2.
-
This will install the linux shell on your Machine.
-
Update packages and mirrors using
pacman -Syu. -
You may have to restart
-
To install GCC copy the following code and paste in the shell
Ctrl + vmight not work -
Note: Keep pressing ENTER to select the default installation instructions.