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

Keith Packard keithp at keithp.com
Mon Jul 11 05:24:34 BST 2022


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.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20220710/4c477a26/attachment.sig>


More information about the Pkg-electronics-devel mailing list