Add support for xcompiler on Alpine 3.13
Problem: xcompiler on Alpine 3.13 was not found Solution is to add "riscv-none-elf-gcc": 1. Add Edge to your repositories: $ echo -e "http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing\nhttp://dl-cdn.alpine linux.org/alpine/edge/community" >> /etc/apk/repositories $ apk update $ apk add gcc-riscv-none-elf 2. The xcompiler should be found at: $ which riscv-none-elf-gcc /usr/bin/riscv-none-elf-gcc
This commit is contained in:
parent
1e9606f3fb
commit
0456de50aa
|
@ -44,6 +44,7 @@ CPU_GCC_TRIPLE_RISCV32 = (
|
||||||
"riscv64-elf",
|
"riscv64-elf",
|
||||||
"riscv32-elf",
|
"riscv32-elf",
|
||||||
"riscv-none-embed",
|
"riscv-none-embed",
|
||||||
|
"riscv-none-elf",
|
||||||
"riscv64-linux",
|
"riscv64-linux",
|
||||||
"riscv64-linux-gnu",
|
"riscv64-linux-gnu",
|
||||||
"riscv-sifive-elf",
|
"riscv-sifive-elf",
|
||||||
|
|
Loading…
Reference in New Issue