Error in building rv32imac BSP

Gedare Bloom gedare at rtems.org
Thu Feb 20 16:32:18 UTC 2020


On Thu, Feb 20, 2020 at 9:23 AM Jiri Gaisler <jiri at gaisler.se> wrote:
>
>
> On 2/20/20 5:03 PM, Eshan Dhawan wrote:
> >
> > make[3]: Leaving directory
> > '/home/eshan/development/rtems/kernel/rtems/rv32imac/riscv-rtems5/c/rv32imac'
> > checking for RTEMS_CPU_MODEL...
> > checking for RTEMS_BSP_FAMILY... riscv
> > checking for CPU_CFLAGS... (cached) -march=rv32imac -mabi=ilp32
> > checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g -ffunction-sections
> > -fdata-sections
> > checking for style of include used by make... GNU
> > checking for riscv-rtems5-gcc... no
>
> ----------------------------------^^^---------
>
>
> You need to have the RISC-V tool chain in the PATH. If you don't have a
> tool chain, then you can build it with RSB. See the relevant docs on
> rtems.org ...
>

Hello Eshan,

Adding on, please ensure that you have
1. Successfully built and installed the toolchain for riscv-rtems. You
can follow similar steps as the Quick Start shows for sparc, but using
riscv.
2. Make sure the bin subdirectory of the prefix used to install the
toolchain is in your PATH environment variable, e.g.,
     export PATH=${PATH}:/home/eshan/development/rtems/5/bin

This way the installed tools can be found in your PATH.

Gedare

> Jiri.
>
>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list