Reputation: 17021
I just installed Cygwin and can launch a bash shell from windows, do ls
, emacs
, vi
, etc. However, when I do g++
it says command not found.
I thought g++
was installed by default in Cygwin? If that's not the case, what are the exact categories under which I can add g++
as a package to my cygwin?
Upvotes: 20
Views: 46847
Reputation: 881323
It's a good idea to just install everything with CygWin. When you run setup, just click on the circular icon at the top level until it reads "Full" rather then "Default" - that will install all the packages.
I've sometimes had trouble installing single packages due to dependencies but a full install is not affected by that same problem.
Disk space is cheap, your time spent trying to figure out why things don't work is not.
Upvotes: 11
Reputation: 351486
Did you install the Devel
packages?
I would suggest you read this tutorial to get up and running.
Upvotes: 23