Newer cross-compiler toolchains than are available @ https://github.com/raspberrypi/tools
Use the -march=armv6zk flag to get ARMv6-compatible binaries if you need a minimum Raspberry Pi 1 & B+ compatibility.
Use the -march=armv7-a flag to get ARMv7-compatible binaries if you only need a minimum Raspberry Pi 2 compatibility.
crosstool-ng configurations for these builds are available in the root of this repo if you want to use them to create your own:
x64-gcc-4.9.4-binutils-2.28.config was generated with crosstool-ng 1.23. This config is roughly based on the configurations used to build the raspberrypi/tools toolchains.x64-gcc-6.5.0.config and x64-gcc-8.3.0.config were generated with crosstool-ng 1.24.0-rc3 and are partly based on x64-gcc-4.9.4-binutils-2.28.configx64-gcc-8.3.0-glibc-2.28.config was generated with crosstool-ng 1.24.0, with a minor edit due to a libisl download location change.x64-gcc-10.3.0-glibc-2.28.config was generated with crosstool-ng 1.25.0, based on x64-gcc-8.3.0-glibc-2.28.config.x64-gcc-12.3.0-glibc-2.28.config was generated with crosstool-ng 1.26.0, based on x64-gcc-10.3.0-glibc-2.28.config.5 commits
2 commits
C++
57.2%
C
40.9%
Newer cross-compiler toolchains than are available @ https://github.com/raspberrypi/tools
Use the -march=armv6zk flag to get ARMv6-compatible binaries if you need a minimum Raspberry Pi 1 & B+ compatibility.
Use the -march=armv7-a flag to get ARMv7-compatible binaries if you only need a minimum Raspberry Pi 2 compatibility.
crosstool-ng configurations for these builds are available in the root of this repo if you want to use them to create your own:
x64-gcc-4.9.4-binutils-2.28.config was generated with crosstool-ng 1.23. This config is roughly based on the configurations used to build the raspberrypi/tools toolchains.x64-gcc-6.5.0.config and x64-gcc-8.3.0.config were generated with crosstool-ng 1.24.0-rc3 and are partly based on x64-gcc-4.9.4-binutils-2.28.configx64-gcc-8.3.0-glibc-2.28.config was generated with crosstool-ng 1.24.0, with a minor edit due to a libisl download location change.x64-gcc-10.3.0-glibc-2.28.config was generated with crosstool-ng 1.25.0, based on x64-gcc-8.3.0-glibc-2.28.config.x64-gcc-12.3.0-glibc-2.28.config was generated with crosstool-ng 1.26.0, based on x64-gcc-10.3.0-glibc-2.28.config.5 commits
2 commits
C++
57.2%
C
40.9%