11-27-2024, 07:41 AM
(This post was last modified: 11-27-2024, 07:43 AM by jsen_che11.)
Thank you very much for your response! I accidentally discovered that the
command doesn’t need to execute successfully; you just need to run the following commands instead:
bash
复制代码
The only thing to note is that if your system has two versions of the toolchain installed, you must pay attention to their path settings.
For example, I first installed Pulpissimo and successfully ran it using riscv-gnu-toolchain, which was installed under /opt/riscv
. The path settings were also configured accordingly.
However, when I tried to install Pulp, I used pulp-riscv-gnu-toolchain, which was installed in a different location. But I didn’t update my PATH
or run bash:
This caused the issue.
Code:
make build
bash
复制代码
Code:
git clone https://github.com/pulp-platform/regression_tests.git
git clone https://github.com/pulp-platform/pulp-runtime.git
source pulp-runtime/configs/pulp.sh
export PATH=*path to riscv gcc toolchain*/bin:$PATH
export PULP_RISCV_GCC_TOOLCHAIN=*path to riscv gcc toolchain*
cd regression_tests/hello
make clean all run gui=1
For example, I first installed Pulpissimo and successfully ran it using riscv-gnu-toolchain, which was installed under /opt/riscv
. The path settings were also configured accordingly.
However, when I tried to install Pulp, I used pulp-riscv-gnu-toolchain, which was installed in a different location. But I didn’t update my PATH
or run bash:
Code:
export PATH=*path to riscv gcc toolchain*/bin:$PATH
export PULP_RISCV_GCC_TOOLCHAIN=*path to riscv gcc toolchain*