Search code examples
c++cg++cygwin

Cygwin not detecting compiler


I've added C:\cygwin\bin to my windows path, yet it's still not detecting g++ or gcc when I try to compile from source.

Is there anything I'm missing here? Just installed Cygwin 1.7


Solution

  • Cygwin would create a shortcut in start menu called Cygwin Bash Shell. You don't have to set PATH if you use this.

    Compilation tools like gcc and g++ is not installed by default, are you sure you've installed all of them?

    btw: I also installed the ssh tool of Cygwin, which enables me to connect to Cygwin using other terminals like putty.