diff 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 |