Macos – How to test if gcc is installed

cgccmacosxcode

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).

Best Answer

  1. Type gcc at the Terminal prompt. If it says "command not found", you don't. Otherwise, you do.
  2. If that fails, then install from your OSX CD.
Related Question