3 ms·gcc and g++ are part of Xcode. That's the reason you have to install Xcode before you can use Homebrew.by cahuk 15y agogcc and g++ are part of Xcode. That's the reason you have to install Xcode before you can use Homebrew.