tags:

views:

138

answers:

2

I just installed Cygwin. And I 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 is the exactly categories under which I can add g++ as a package to my cygwin?

Thanks!

+5  A: 

Did you install the Devel packages?

I would suggest you read this tutorial to get up and running.

Andrew Hare
+4  A: 

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.

paxdiablo
+1 This is good advice.
Andrew Hare
Thanks! I am trying to conserve disk space LOL.
Saobi