Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   New to programming. Having trouble with Xcode (http://www.mac-forums.com/forums/os-x-development-darwin/221174-new-programming-having-trouble-xcode.html)

Chris23 11-23-2010 05:10 PM

New to programming. Having trouble with Xcode
 
Hi there new to this site so hello to everyone. I have just started to try and learn how to program but already having difficulty with xcode 3.2.4 whenever I try and run a program it just comes up and says it has failed with the error message "Can't exec ' /Developer/usr/bin/gcc-4.2' (No such file or directory) could somebody please help :[

xstep 11-23-2010 06:51 PM

Weird. You have Xcode but not the compiler. I just used the ls command on the command line for that file and it is in my system. I'm running Xcode 3.2.3. If you have that file, then the following might not help.

I'd remove XCode and do a fresh install. By the way, did you download from the iPhone sign on or the Mac OS X sign on? Is your Mac an Intel based model?

Reading the 3.2.5 notes, I see the following removes Xcode when executed in a Terminal window
Code:

sudo <Xcode>/Library/uninstall-devtools --mode=all
<Xcode> being the starting path where you installed it. It should have been /Developer.


All times are GMT -4. The time now is 12:51 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.