|Nov 5, 2009, 04:51 PM||#1|
i have xcode. i have been using it for a while now with no problems.
but when i use terminal to try to compile something using the gcc compiler
cc -Wall -o warning warning.m
-bash cc command not found:
same with the gcc command.
i have re-downloaded the developer tools and gcc 4.0
what is wrong?
|Nov 5, 2009, 05:57 PM||#2|
Maybe try invoking the commands directly to see if your environment is messed up? Go to /usr/bin/ in Terminal, do you see cc and gcc listed? (cc is actually just a link to gcc) What happens if you try to run them from that directory?
Go outside, the graphics are amazing!
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Where is my gcc and g++ compiler||sysProgrammer||Mac Programming||10||Nov 24, 2013 06:47 PM|
|LLVM-GCC Compiler issues||rchaud10||iPhone/iPad Programming||1||Jun 12, 2013 12:12 PM|
|gcc doesn't work||Mister V||Mac Programming||6||Jan 6, 2013 11:04 AM|
|no gcc after installing xcode! help! urgent!||miissts||Mac Programming||4||Aug 28, 2012 09:00 AM|
|GCC in Mountain Lion||jojo0815||OS X 10.8 Mountain Lion||6||Jul 31, 2012 08:51 AM|
All times are GMT -5. The time now is 12:58 AM.