Re: Setting up RISC-V toolchain for Linux

2018-11-08 Thread Fabio Utzig
On Wed, Nov 7, 2018, at 8:04 PM, PEIJIE LI wrote: > Hi Andrey: > Thank you for your help. > I switched to use the risvc64 package. Yet I am still seeing the > missing sys/mman.h error. > I tried installing gcc-multilib, build-essential, libc6-dev but none of > them solves the problem.

Re: Setting up RISC-V toolchain for Linux

2018-11-01 Thread Andrey Serdtsev
There is riscv64 package in compiler folder. Why not to try it? Just change 'bsp.compiler' value in your bsp.yml. On 01.11.2018 3:30, PEIJIE LI wrote: > Hi, > I am trying to set up RISC-V as the toolchain on a Linux system. But I > am getting an error saying "sys/mman.h: No such file or

Setting up RISC-V toolchain for Linux

2018-10-31 Thread PEIJIE LI
Hi, I am trying to set up RISC-V as the toolchain on a Linux system. But I am getting an error saying "sys/mman.h: No such file or director”. Here is what I did: 1. I installed newt by following the instructions on “Installing Newt on Linux” 2. I then modified the