diff options
| author | Mike McQuaid | 2014-10-26 14:54:36 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-26 14:57:36 +0000 |
| commit | 19d12aee45ac8d55ecd58a8c072286c84e72041d (patch) | |
| tree | f03c854a0c956a51def4853304aab021e60e635c /share/doc/homebrew/Custom-GCC-and-cross-compilers.md | |
| parent | cd528e7203b649795113c7adc013f09a3b1aab73 (diff) | |
| download | brew-19d12aee45ac8d55ecd58a8c072286c84e72041d.tar.bz2 | |
Import docs from wiki.
Closes Homebrew/homebrew#33211.
Diffstat (limited to 'share/doc/homebrew/Custom-GCC-and-cross-compilers.md')
| -rw-r--r-- | share/doc/homebrew/Custom-GCC-and-cross-compilers.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/share/doc/homebrew/Custom-GCC-and-cross-compilers.md b/share/doc/homebrew/Custom-GCC-and-cross-compilers.md new file mode 100644 index 000000000..cd44ba556 --- /dev/null +++ b/share/doc/homebrew/Custom-GCC-and-cross-compilers.md @@ -0,0 +1,14 @@ +# 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` +* [MSP430 development](http://github.com/Homebrew/homebrew/issues/issue/2336) +* [OS161 development](https://github.com/maxpow4h/homebrew-os161) Your university probably uses a different version, replacing the URLs with your university's URLs will probably work. +* [ARM-EABI](https://github.com/paxswill/homebrew-paxswill) provides an arm-none-eabi toolchain formula. |
