[Pkg-electronics-devel] Packaging gcc-riscv32-elf bare-metal cross compiler

Matthias Geiger werdahias at riseup.net
Tue Dec 9 15:31:08 GMT 2025


On Sun, 10 Jul 2022 21:24:34 -0700 Keith Packard <keithp at keithp.com> wrote:
> Paul Wise <pabs at debian.org> writes:
> 
> > On Sun, 2022-07-10 at 16:28 +0000, John Scott wrote:
> >
> >> If there is still interest in having this package in Debian (which I
> >> think should be called gcc-riscv32-elf if it's to produce ELF
> >> binaries)
> >
> > Are the rv32 multi-lib targets in gcc-riscv64-unknown-elf enough here?
> > Keith Packard (CCed) is the maintainer, but I expect they would welcome
> > you and or the electronics team helping with the package.
> 
> The triplet is riscv64-unknown-elf because the default target is a
> 64-bit one, but (as you can see), the toolchain supports both 32- and
> 64- bit ISAs.
> 
> I'd love help packaging this; I'm no longer working with risc-v on a
> regular basis, so I haven't been keeping track of the current 'popular'
> compiler versions out there. It might be sufficient to simply use the
> standard Debian GCC source package at this point though? That would
> probably be far easier to keep current than the previous plan of
> tracking the SiFive toolchain versions.

Hi,

is there still interest into getting this into Debian? I am wondering 
what the current state is /which blockers exist. This was prompted by 
wanting to develop on the riscv core on the raspberry pi 2 pico; and 
having to download a thirdparty toolchain, which is not ideal.
I'd be willing to help.

best,

werdahias



More information about the Pkg-electronics-devel mailing list