Cheers!There appears to be a working build script in the pico-sdk-tools project: https://github.com/raspberrypi/pico-sdk ... scv-gcc.sh
Of course you could also just download the pre-built toolchain from that project's releases (for Raspberry Pi.)
You would need to clone the required repos before running the build script linked above:Code:
git clone -b "master" --depth=1 -c advice.detachedHead=false "https://github.com/riscv/riscv-gnu-toolchain.git"git clone -b "releases/gcc-14" --depth=1 -c advice.detachedHead=false "https://github.com/gcc-mirror/gcc"

It seems to be a bit wierd on its git behaviour but at least I've got the example riscv64/newlib built. The rest will have to wait for another day. It does explain why all my google searches had me wondering why everyone seemed to building "in-tree". I ignored those posts: turned out to be a bad idea.
Statistics: Posted by swampdog — Sun Aug 18, 2024 5:55 pm