quote:Originally posted by Hayden
I'm on chapter 3 and 5 of the book and I can get any of the projects to compile ie "Hello" & "Slide Master". Like Ari I hit build and go and i get
Couldn't run '/usr/bin/gcc-3.3' because it does not refer to an accessible executable.
I dont do anything else except follow the book and hit build and go
I have read mtrent's reply to Ari but it didnt help.
Any help would be cool. ( I have version 2.0 of xcode)
I think you have two things to do:
- the first: have you gcc and what is its path?
- the second: has your gcc the executable attribute?
To find the correct path, try this in the shell: find / -name "gcc*" -print
You will know if you have gcc, where it is, and if its version number is 3.3
To know if gcc has the executable attribute, type in the shell: ls -iaFl the_path_you_found_in_first
You will see if gcc has the executable attribute. You can change it by chmod u=rwx,go=x the_path_of_gcc
But if you have gcc with a wrong version number, and a wrong path (not /usr/bin/gcc) it is more safe and sure to reinstall Xcode and developer tools. In this case, first use the perl script "uninstall-devtools.pl" to safely uninstall before reinstalling.
(Sorry for my poor english)