Open appujee opened 1 year ago
The Ubuntu package you installed includes the compiler binary riscv64-unknown-elf-gcc
, not riscv64-unknown-linux-gnu-gcc
.
If you want to use a Linux build, then the package is gcc-riscv64-linux-gnu
(https://packages.ubuntu.com/search?keywords=gcc-riscv64-linux-gnu) and the compiler is invoked likewise.
The Ubuntu package you installed includes the compiler binary
riscv64-unknown-elf-gcc
, notriscv64-unknown-linux-gnu-gcc
.If you want to use a Linux build, then the package is
gcc-riscv64-linux-gnu
(https://packages.ubuntu.com/search?keywords=gcc-riscv64-linux-gnu) and the compiler is invoked likewise.
thanks. i've added this to doc: https://github.com/riscv-admin/risc-v-getting-started-guide/pull/51 in case others get the same question.
Can be closed now?
Okay to close. btw, can anyone approve the https://github.com/riscv-admin/risc-v-getting-started-guide/pull/51 ?
Okay to close.
Could you close it so? I think that only the issue originator or those with elevated privileges in this repo can close it.
git branch
Using instructions as described in: https://risc-v-getting-started-guide.readthedocs.io/en/latest/linux-qemu.html
I installed gcc on my ubuntu machine:
System version