Search Criteria
Package Details: riscv64-unknown-elf-gcc 14.2.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/riscv64-unknown-elf-gcc.git (read-only, click to copy) |
---|---|
Package Base: | riscv64-unknown-elf-gcc |
Description: | The GNU Compiler Collection - cross compiler for 32bit and 64bit RISC-V bare-metal |
Upstream URL: | http://gcc.gnu.org/ |
Keywords: | risc-v |
Licenses: | GPL, LGPL, FDL |
Submitter: | esmil |
Maintainer: | Maxr1998 |
Last Packager: | Maxr1998 |
Votes: | 8 |
Popularity: | 0.017948 |
First Submitted: | 2017-09-10 11:59 (UTC) |
Last Updated: | 2024-09-07 15:02 (UTC) |
Dependencies (3)
- libmpc (libmpc-gitAUR)
- riscv64-unknown-elf-binutilsAUR
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
Required by (1)
- riscv64-unknown-elf-picolibc (make)
Latest Comments
1 2 Next › Last »
salimp commented on 2024-06-16 09:17 (UTC) (edited on 2024-06-16 12:41 (UTC) by salimp)
can I ask if there is a difference between official Arch repo package riscv64-elf-gcc and this package. gcc has only riscv elf and riscv linux project. So I assume it is just a naming thing as it is given in the package build. Most examples uses riscv64-unknown-elf-gcc as executable name tough. Is that why ? Or this package has ISL - Integer Set Library. Is that the difference ? UPDATE: Never mind the other package has also libisl as a dependency .
robng15 commented on 2024-05-25 07:02 (UTC)
Sorry, a quick question, regarding C and C++ include files.
The Arch package riscv64-elf-gcc-12.2.0-2 has /usr/riscv64-elf/include as part of the package.
These do not appear to be bundled with this AUR build of riscv64-unknown-elf-gcc-13.2.0-2
Do you know of anyway to have these files included as part of the build?
robng15 commented on 2024-05-23 10:09 (UTC)
Just for info, as needed riscv64-unknown-elf-gcc-14.1.0 for my FPGA project, changing the two lines...
pkgver=14.1.0
and
sha256sums=('e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840'
gives a working gcc-14.1.0 environment, generating code using the latest march flags for riscv64.
recallmenot commented on 2023-04-15 12:30 (UTC)
was fixed in https://github.com/cnlohr/ch32v003fun/commit/3c4fdca3a75d8c30b2c0aaf2607f7a78f9fb93cb
recallmenot commented on 2023-04-10 07:07 (UTC) (edited on 2023-04-10 09:58 (UTC) by recallmenot)
Hi, I'm trying to build https://github.com/cnlohr/ch32v003fun but when I install this and riscv64-unknown-elf-newlib, then try to "make" the "blink" example I get:
../../ch32v003fun/ch32v003fun.c: Assembler messages: ../../ch32v003fun/ch32v003fun.c:770: Error: unrecognized opcode
csrw mstatus,a0', extension
zicsr' required ../../ch32v003fun/ch32v003fun.c:772: Error: unrecognized opcodecsrw 0x804,a3', extension
zicsr' required ../../ch32v003fun/ch32v003fun.c:775: Error: unrecognized opcodecsrw mtvec,a0', extension
zicsr' required ../../ch32v003fun/ch32v003fun.c:802: Error: unrecognized opcodecsrw mepc,a5', extension
zicsr' required lto-wrapper: fatal error: riscv64-unknown-elf-gcc returned 1 exit status compilation terminated. /usr/lib/gcc/riscv64-unknown-elf/12.2.0/../../../../riscv64-unknown-elf/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit statuscan anyone help me here?
ch32v003fun recommends to install on ubuntu/debian, there the packages are libnewlib-dev and gcc-riscv64-unknown-elf. tested it in a VM, with them make works instantly.
Maxr1998 commented on 2022-07-01 17:12 (UTC) (edited on 2022-07-01 18:44 (UTC) by Maxr1998)
Adopted the package and updated everything to the latest version. Some patches were required to get it to build again.
Eragon commented on 2022-01-16 21:22 (UTC)
The current isl hosting platform seems to be sourceforge
https://libisl.sourceforge.io/
ftheile commented on 2019-09-30 07:10 (UTC)
I get multiple errors regarding existing symbolic links, e.g.:
==> Starting prepare()... ln: failed to create symbolic link 'isl/isl-0.21': File exists
Adding
-f
to allln -s
commands in the PKGBUILD fixed the problem for me.esmil commented on 2018-03-01 09:32 (UTC)
Yeah, that confused me too. The riscv toolchain is a little funny in that way. Upstream recommends you just build the riscv64-unknown-elf-gcc and then compile with -march=rv32i -mabi=ilp32 (or whatever suits your platform).
You can see (or steal from) my experiments with the hifive1 board at https://github.com/esmil/pentagram
catalin.hritcu commented on 2018-02-28 20:53 (UTC)
Description says that this supports 32bit RISC-V, but no
riscv32-unknown-elf-gcc
binary is generated. Am I missing anything?1 2 Next › Last »