Newlib setup in FreedomStudio


(Rob Eliasoff) #1

I am trying to figure out how to setup Newlib inside of FreedomStudio.

My gcc toolchain is set to the following path.

/usr/local/tools/RISC_V/FreedomStudio/SiFive/riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6/bin

I configured, built and installed newlib, the path is

/home/Projects/build-newlib/riscv64-unknown-elf/

When I set the path in Settings->MCU->RISC-V Toolchains Paths, The compiler fails because it can no longer access riscv64-unknown-elf-gcc in …/bin.

I could use some guidance in setting up newlib.