diff options
author | Scott Beamer <sbeamer3@gmail.com> | 2016-01-11 14:41:57 -0800 |
---|---|---|
committer | Scott Beamer <sbeamer3@gmail.com> | 2016-01-11 14:41:57 -0800 |
commit | 968340ce5b2a0a6a9221431f0bd773ce9a8e40fb (patch) | |
tree | 4f3c4ebff5531b5efb655580c7de8bc4706b31c6 | |
parent | d30a479efccec171547ec7e1f03b8140b6926f3e (diff) | |
download | riscv-tools-968340ce5b2a0a6a9221431f0bd773ce9a8e40fb.zip riscv-tools-968340ce5b2a0a6a9221431f0bd773ce9a8e40fb.tar.gz riscv-tools-968340ce5b2a0a6a9221431f0bd773ce9a8e40fb.tar.bz2 |
clarify OS X building options
-rw-r--r-- | README.md | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -25,14 +25,12 @@ Ubuntu packages needed: $ sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc -Note: This requires GCC >= 4.8 for C++11 support (including thread_local). -To use a compiler different than the default (for example on OS X), use: +_Note:_ This requires a compiler with C++11 support (e.g. GCC >= 4.8). +To use a compiler different than the default, use: $ CC=gcc-5 CXX=g++-5 ./build.sh -One way to get a working gcc is to install [Homebrew](http://brew.sh) and issue - - $ brew install gcc +_Note for OS X:_ We recommend using [Homebrew](http://brew.sh) to install the dependencies (`gawk gnu-sed gmp mpfr libmpc isl`) or even to install the tools [directly](https://github.com/riscv/homebrew-riscv). This repo will build with Apple's command-line developer tools (clang) in addition to gcc. # <a name="newlibman"></a>The RISC-V GCC/Newlib Toolchain Installation Manual |