Gcc doesn't work on snow leopard

After upgrading to snow leopard, it turned out that I can no longer use gcc on the terminal, and its mainly because it lost its link in / usr / bin /.

What should I do to get it working again?

[After installing Xcode 3.2 everything went fine, the terminal accepted the gcc command, but I need to disable it once because netbeans doesn't work as expected, so it looks great after finishing]

+2


source to share


2 answers


Reinstall Xcode from the Snow Leopard installation media, and when you ask what to install, make sure you choose Command Line Tools.



+5


source


The simplest solution is to install the XCode 3.2 shipped on the Snow Leopard DVD



+2


source







All Articles