How can I find out if I have gcc installed on my machine? I am trying to run CodeRunner, but it isn't responding. I know you have to have gcc installed in order for it to work properly. I do have Xcode 4.0.2 installed (from what I've read, if Xcode is installed then you already have gcc).
feedback
|
migrated from stackoverflow.com Apr 30 '11 at 2:47
This question came from our site for professional and enthusiast programmers.
| |||||||||||||
feedback
|
|
You could just try to see if a gcc executable is present. Try:
| |||||||||
feedback
|
|
Try any terminal command, like:
If gcc isn't installed, you will often see a message with a "how to install it" note, complete with the package manager's command. | ||||
|
feedback
|
