Compiling the RISC-V GNU Compiler Toolchain on OS X
#2
Hi, you should do
Code:
brew install g++ gcc
to have more recent versions of GCC available (currently I think version 9).
Then, before building, run
Code:
export CXX=g++-9 CC=gcc-9

It did work for me. If you are building for MacOS on ARM64 instead of Intel look here: https://github.com/riscv-software-src/ho...-772306695

Finally, the RISC-V toolchain will work fine on MacOS, but the other PULP SDK tools, in particular GVSoC, are Linux-only as far as I know, so you will need to use a container or VM to make it work.
Reply


Messages In This Thread
RE: Compiling the RISC-V GNU Compiler Toolchain on OS X - by fconti - 02-04-2022, 09:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)