Reputation: 10157
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
Upvotes: 1
Views: 261
Reputation: 6778
Due to the alternatives system that's used for switching between gcc versions 3 and 4, gcc
and g++
are symlinks to gcc-3
/g++-3
or gcc-4
/g++-4
. Cygwin symlinks aren't transparent to non-Cygwin programs though, hence you need to invoke the version you want directly.
Upvotes: 1
Reputation: 3442
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
.
Upvotes: 3