Homebrew depends on having an up-to-date version of Xcode because it comes with specific versions of build tools, e.g. clang
. Installing a custom version of GCC or Autotools into your PATH
has the potential to break lots of compiles so we prefer the Apple- or Homebrew-provided compilers. Cross compilers based on GCC will typically be “keg-only” and therefore not linked into your PATH
by default, or be prefixed with the target architecture, again to avoid conflicting with Apple or Homebrew compilers.
Rather than merging formulae for either of these cases at this time, we’re listing them on this page. If you come up with a formula for a new version of GCC or cross-compiler suite, please link to it here.
gcc
formula for use with Xcode 4.2+.gcc@9
.i686-elf-gcc
, x86_64-elf-gcc
.llvm
formula.