Raspberry OS Bullseye and Cross Toolchain for Linux and Mac OS 10.2.1
Raspberry OS based on Debian bullseye was recently published. The compiler provided with this new version was updated to 10.2.1. As usual, I need to cross build many large projects for the platform, and I had problems in the past with cross toolchains not precisely matching the versions in the target sysroot. I therefore typically prefer to build my own toolchains based on the precise versions of the packages provided with the OS. These are the toolchains I’m using for the past Raspberry Pi systems:
For Bullseye, these are the new toolchains I’m currently using:
- Cross toolchain GCC 10.2.1 for Linux hosts for Bullseye: here.
- Cross toolchain GCC 10.2.1 for Mac OS hosts for Bullseye: here.
As usual, place the toolchain in /opt/rpi, and the sysroot in /opt/rpi/sysroot. I tested these toolchains to build Qt 6.2.1 and everything seems to be fine so far.
Have fun! Bye 😉