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

I installed Xcode 4.3 on my machine, but nonetheless, this is not everywhere, even

find / -name gcc 

doesn't reveal it. However, Xcode can compile C code. Therefore, there must be a compiler in my system!

Where is it?

+4
source share
1 answer

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

Command line tools are optional : Command line tools are not associated with Xcode 4.3 by default. Instead, they can be installed optionally using the Components tab in the Downloads settings panel, as shown in Figure 3.

So, you should go to the Download Settings panel and download them.

+7
source

Source: https://habr.com/ru/post/1398244/


All Articles