2
votes

After upgrading to snow leopard it turn out that i am unable to use gcc on terminal anymore, and its mainly because it has lose its link in /usr/bin/.

What should i do to make it work again?

[After installing Xcode 3.2, everything went to normal, terminal was accepting gcc command, but i have to shutdown once, because netbeans was not working properly, so after shutdown, its looking great]

2

2 Answers

5
votes

Reinstall XCode from the Snow Leopard installation media, and when asking what to install, make sure you select command-line tools.

2
votes

The easiest solution is to install XCode 3.2 supplied on the Snow Leopard DVD