From c796da5956ee0d992f2f80e3c9cebdcb72c07576 Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Fri, 29 Sep 2023 09:41:12 +0200 Subject: [PATCH] Update gcc installation instruction Current installation instruction installs an older gcc which does not support all ISA instruction types passed in `-march` flags --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 721021380..fc85c2820 100644 --- a/README.md +++ b/README.md @@ -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...: