How come GCC compiler isn't working in Terminal?
Hello,
Whenever I try to compile my C code (just a simple helloworld.c) via Terminal I get the following error:
-bash: gcc: command not found
I found some information using Google and I did install Xcode. When I browse to usr/bin the files cc and gcc link to gcc-4.2. So everything seems to be right except for one thing: it doesn't work.
Does anybody know what I'm doing wrong? I guess it's something simple but I can't put my finger on it.
Thanks in advance,
svdv22
iMac, Mac OS X (10.6.7), I'm running Xcode 3.2.5