blob: 73c56e53f40b134d6a0b4d31c3ee528f342fc9d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Quick and dirty instructions:
$ git submodule update --init --recursive
$ export RISCV=/path/to/install/riscv/toolchain
$ ./build.sh
Ubuntu packages needed:
$ sudo apt-get install autoconf automake autotools-dev libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo
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:
$ CC=gcc-4.8 CXX=g++-4.8 ./build.sh
|