Thread: gcc compiling
View Single Post

jdgti's Avatar
Member Since: Mar 14, 2005
Location: Atlanta, GA
Posts: 443
jdgti will become famous soon enough
Mac Specs: 17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM

jdgti is offline
Originally Posted by mac57
In Terminal, type:

which gcc

and report back. This will tell you whether gcc is on your path. Your path does include /usr/bin, which is where it should be.

I would also manually check /usr/bin/gcc, and make sure that it is executable and readable by all. It is unlikely that its permissions have been changed, but worth checking. This is NOT a recommendation to do a "repair permissions" which borders on a useless time waster most of the time. Just check the permissions of this one file.
It is in the right place. I went ahead and changed the permissions on the gcc in usr/bin to be readable and now it works. Must have been that. Thanks.

QUOTE Thanks