Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dukebound85

macrumors Core
Original poster
Jul 17, 2005
19,218
4,342
5045 feet above sea level
Hi all, I am trying to set up Xcode 3 on my brothers mb. It installs but when we are trying to compile a c program we get a message that the gcc command is not found

We have tried reinstalling xcode as wel and it hasn't alleviated the issue

Any idea how to get this compiler to be recognized?

Thanks:)
 
Hi all, I am trying to set up Xcode 3 on my brothers mb. It installs but when we are trying to compile a c program we get a message that the gcc command is not found

We have tried reinstalling xcode as wel and it hasn't alleviated the issue

Any idea how to get this compiler to be recognized?

Thanks:)

Try uninstalling XCode with following command before reinstalling.

Code:
sudo /Developer/Library/uninstall-devtools --mode=all

Try making sure Unix Development is ticked, if it wasn't already, when you reinstall. I know it says it's optional. But just in case.
 
Look in /usr/bin/ for gcc , and make sure your $PATH shell variable includes it if you are compiling from the command line.

Look in /Developer/Applications/ for Xcode.
 
He downloaded Xcode 3.1.x and during the install, there was no way to click the unix command tools as it was permanently greyed out. I researched some and believe that 3.1.x unix tools are applicable only for 10.5 and you need 3.2.x to be able to install them on 10.6

With that said, does anyone know where I can download xcode 3.2.6? or whatever? We have the free Apple developer acct and are only able to find xcode 4. Surely xcode 3.2.x is still up somewhere right?
 
Last edited:
He downloaded Xcode 3.1.x and during the install, there was no way to click the unix command tools as it was permanently greyed out. I researched some and believe that 3.1.x unix tools are applicable only for 10.5 and you need 3.2.x to be able to install them on 10.6

With that said, does anyone know where I can download xcode 3.2.6? or whatever? We have the free Apple developer acct and are only able to find xcode 4. Surely xcode 3.2.x is still up somewhere right?

Logged into the developer site, in big print you see "Download XCode 4", and in the same box in small print "Looking for XCode 3? -> Download"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.