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:
Benjamin Henrion 2021-03-12 20:13:23 +01:00 committed by GitHub
parent 1e9606f3fb
commit 0456de50aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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",