Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just downloaded Cygwin, I've never used it before cause I've always used putty. Cygwin is not letting me compile; I can see the files but it just doesn't let me compile and I do not understand why, am I doing something wrong?

This is what's going on:

Christine@Christine-PC ~
$ ls
8.6.c   a.b.c  a.c.c  core    new  2.txt  test.c
9.13.c  a.c    a.out  days.c  new2.c      test.txt

Christine@Christine-PC ~
$ gcc a.c.c
-bash: gcc: command not found
share|improve this question
    
Try to reinstall cygwin and make sure that GCC is being installed. –  Mokubai Nov 9 '13 at 7:17

1 Answer 1

You need to install gcc if you want to be able to compile. Run setup again and select it.

share|improve this answer
    
Where is it under? debug? –  christine Nov 9 '13 at 7:10
    
Type gcc into the search bar. It's under devel. –  David Schwartz Nov 9 '13 at 7:21
    
I just found it. thanks!! –  christine Nov 9 '13 at 7:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.