Amaru Hashimi
Amaru Hashimi

Reputation: 49

Why is my gcc not in /usr/bin/gcc, even though Xcode 4.3 is installed?

I installed Xcode 4.3 on my machine, but nonetheless, it isn't anywhere, even a

find / -name gcc 

doesn't reveal it. Still, Xcode can compile C code. So there must be a compiler on my system!

Where is it?

Upvotes: 4

Views: 2389

Answers (1)

sch
sch

Reputation: 27506

In the new version of Xcode 4.3, command line tools are optional and are not installed automatically. See here for more info:

Command-Line Tools Are Optional: The command-line tools are not bundled with Xcode 4.3 by default. Instead, they can be installed optionally using the Components tab of the Downloads preferences panel as shown in Figure 3.

So you have to go to the Downloads Preferences panel and download them.

Upvotes: 7

Related Questions