You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that if users already have riscv32 tools built and in their PATH the build script will fail as it likely expects the riscv32 that is build in $ISP_PREFIX/bin. This happened to me in this particular instance:
as which riscv32-unknown-elf-gcc evaluates to /usr/bin/riscv32-unknown-elf-gcc, not the one is $ISP_PREFIX
I was able to fix this by putting $ISP_PREFIX/bin first in my PATH variable.
It seems that initially this was the way that the build script was written but e4ad184 in tools changed this. It was not obvious to figure this problem out as the error message was not particularly helpful. A warning should be put in place or the build script should be reverted to the way it initially was to avoid this problem.
The text was updated successfully, but these errors were encountered:
I noticed that if users already have riscv32 tools built and in their PATH the build script will fail as it likely expects the riscv32 that is build in
$ISP_PREFIX/bin
. This happened to me in this particular instance:as
which riscv32-unknown-elf-gcc
evaluates to/usr/bin/riscv32-unknown-elf-gcc
, not the one is$ISP_PREFIX
I was able to fix this by putting
$ISP_PREFIX/bin
first in my PATH variable.It seems that initially this was the way that the build script was written but e4ad184 in
tools
changed this. It was not obvious to figure this problem out as the error message was not particularly helpful. A warning should be put in place or the build script should be reverted to the way it initially was to avoid this problem.The text was updated successfully, but these errors were encountered: