diff options
| author | Mike McQuaid | 2016-09-19 19:58:21 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-20 10:41:42 +0100 |
| commit | bd6fb88ddc72a0de4c27f65e60a82790a5d87f3f (patch) | |
| tree | 4a40854293dc41c0184f5532583a864712aa5b8c /docs/Custom-GCC-and-cross-compilers.md | |
| parent | f87e3626bb241bc88bead4ed6448a76c1bf49f56 (diff) | |
| download | brew-bd6fb88ddc72a0de4c27f65e60a82790a5d87f3f.tar.bz2 | |
Rearrange repository files.
Diffstat (limited to 'docs/Custom-GCC-and-cross-compilers.md')
| -rw-r--r-- | docs/Custom-GCC-and-cross-compilers.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/Custom-GCC-and-cross-compilers.md b/docs/Custom-GCC-and-cross-compilers.md new file mode 100644 index 000000000..1d662c158 --- /dev/null +++ b/docs/Custom-GCC-and-cross-compilers.md @@ -0,0 +1,21 @@ +# Custom GCC and cross compilers +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 the `$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 the path by default. + +Rather than merging in brews 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 it in here. + +* Homebrew provides a `gcc` formula for use with Xcode 4.2+ or when needing +C++11 support on earlier versions. +* [Homebrew-versions](https://github.com/homebrew/homebrew-versions) provides an +up to date GCC duplicates e.g. `brew install homebrew/versions/gcc48` +* [RISC-V](https://github.com/riscv/homebrew-riscv) provides the RISC-V +toolchain including binutils and gcc. |
