I have installed all packages in cygwin. I have also added C:\\cygwin\\bin to my PATH variable. But when I try to compile a c++ file in command line I get the error \'Access
I got the same issue and was because I had pending the reboot after Cygwin installation. After the reboot works for me.