I have used cygwin for many years and never had a problem installing gcc with it (multiple versions of gcc in one cygwin instance, just like my linux systems). Have you tried uninstalling, and reinstalling cygwin, and when you have the package page showing as to which packages to install, did you enable gcc then, or did you try it after cygwin was installed?
I am going through a tutorial for OS Development and I need a compiler like GCC and the Linker ld associated with it to get the binaries for the OS. I tried with the GCC integrated with MinGW
There was a error saying
"pe operations on Non-PE file" when using ld that comes with MinGW
I learnt form the Internet it was because ld requires an elf system.
So I installed Cygwin and then installed binutils, GCC and some other utilities which I dont know about. When I tried compiling with Cygwin, I got the error. I am at a total loss because no one else on any forum has encountered such a discrepancy while using Cygwin.
By the way, will working in Linux for OS Kernel development help? I heard it provides more support for OS development than Windows