mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Update gcc installation instruction
Current installation instruction installs an older gcc which does not support all ISA instruction types passed in `-march` flags
This commit is contained in:
parent
f5b7c0d88e
commit
c796da5956
1 changed files with 4 additions and 2 deletions
|
@ -166,8 +166,10 @@ $ ./litex_setup.py --update
|
||||||
|
|
||||||
3. Install a RISC-V toolchain (Only if you want to test/create a SoC with a CPU):
|
3. Install a RISC-V toolchain (Only if you want to test/create a SoC with a CPU):
|
||||||
```sh
|
```sh
|
||||||
$ pip3 install meson ninja
|
$ git clone --recursive https://github.com/riscv/riscv-gnu-toolchain
|
||||||
$ ./litex_setup.py --gcc=riscv
|
$ cd riscv-gnu-toolchain
|
||||||
|
$ ./configure --prefix=$HOME/RISCV --enable-multilib
|
||||||
|
$ make newlib linux
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Build the target of your board...:
|
4. Build the target of your board...:
|
||||||
|
|
Loading…
Reference in a new issue