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:
Liana Koleva 2023-09-29 09:41:12 +02:00 committed by GitHub
parent f5b7c0d88e
commit c796da5956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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):
```sh
$ pip3 install meson ninja
$ ./litex_setup.py --gcc=riscv
$ git clone --recursive https://github.com/riscv/riscv-gnu-toolchain
$ cd riscv-gnu-toolchain
$ ./configure --prefix=$HOME/RISCV --enable-multilib
$ make newlib linux
```
4. Build the target of your board...: