make installed, I have the
riscv32-unknown-linux-gnu toolchain installed.
I have added
riscv/bin to my path. I can successfully execute any of the toolchain commands in the shell. e.g.
riscv32-unknown-linux gnu-as ... hello.s -o boot.o works.
When i run
which riscv32-unknown-linux-gnu-as, there is nothing printed to the terminal.
When I run
make in the directory of my makefile i get
riscv32-unknown-linux-gnu-as -march=rv32i -mabi=ilp32 hello.s -o hello.o make: riscv32-unknown-linux-gnu-as: Command not found Makefile:18: recipe for target 'hello.o' failed make: *** [hello.o] Error 127
It seems this is a problem with my path? I'm not sure why which and make can't find it, but I can execute it just fine.
** EDIT **
The only thing I can think of is something with the path is weird, this is on WSL