GCC stands for GNU Compiler Collection. A compiler system that is capable of supporting various programming languages. It has played an important role in the growth of free software
Cygwin already installed? if not please follow the link How to install Cygwin
lecture I am going to discuss about how to install GCC on Cygwin so first here I am going to open the segment terminal.
check gcc already installed?: gcc --version
if you get here -bash: gccc: command not found, it means Cygwin not yet install.
ReInstallation
To add the GCC compiler, we need to reinstall Cygwin. Double-click on the setup program setup-x86_64.exe and then click on 'Next'.
Choose a download source
Select download from internet and click on next,
Installtion directory
Select root installtion directory as per your choice or default and click on next,
Local package directory
Select local package directory as per your choice or default and click on next,
Select your internet connection
Keep default and click on next,
Choose a download site
Choose of any one of thease I am choosing
http://cygwin.mirror.constant.com
and click on next,Under View select 'Full' and search for 'gcc' you can get so many option as below with latest version.
Next you can get below option with latest version and click on next.
Review and confirm changes and click on next.
Click on Finish
All set.