Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4861

SDK • Re: RISC-V cross-compiler on Raspberry Pi 4 Ubuntu 22.04?

$
0
0
This details how I built my RP235X RISC-V compiler and toolchain for my Pi 4B running Raspberry Pi OS Bookworm 32-bit and should work for 64-bit - viewtopic.php?p=2245570#p2245570

That is described as 'for Ubuntu' in the documentation so I guess should work for you, but YMMV.

There is also some kind of pre-built RISC-V toolchain at - https://github.com/raspberrypi/pico-sdk-tools/releases ( click 'view all assets' to see it ) - but as that's for 64-bit and I'm on 32-bit I don't know anything about it, how or where to install it.

Hopefully there will one day be a 'sudo apt install gcc-riscv-none' or similar to make installing the RISC-V toolchain as easy as it is for ARM.

And the documentation on how to get it will become clearer than it is now.

Statistics: Posted by hippy — Wed Aug 21, 2024 3:41 pm



Viewing all articles
Browse latest Browse all 4861

Trending Articles