As pointed-out by old_timer, you could download/use a pre-built toolchain. You could for example use the arm-linux-gnueabihf-gcc provided in release 15.02 of the Linaro toolchains - tested on Ubuntu 22.04 and 24.04:
Downloading/installing:
wget https://releases.linaro.org/archive/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
tar Jxf gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
PATH=$(pwd)/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/bin
Verifying gcc version:
arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Linaro GCC 4.9-2015.01-3) 4.9.3 20150113 (prerelease)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Answer from Frant on Stack OverflowLinaro
releases.linaro.org › components › toolchain › binaries › latest-5 › arm-linux-gnueabihf
arm-linux-gnueabihf
Linaro Releases · Running linaro-license-protection 011e374
Linaro
lists.linaro.org › archives › list › linaro-dev@lists.linaro.org › thread › CCC6PTSWIBVDC4HNGJ4NXSZWZ2S5I5A7
gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux toolchain problem - linaro-dev - lists.linaro.org
I have came back to getting a Linaro Jenkins local build working by pairing down the IFC6410 script · I have came to a point where the cross platform build tools are not working
Linaro
releases.linaro.org › components › toolchain › binaries › latest-7 › arm-linux-gnueabihf
Linaro Toolchain Releases
Linaro Releases · Running linaro-license-protection 011e374
Arch Linux
aur.archlinux.org › packages › arm-linux-gnueabihf-linaro-bin
AUR (en) - arm-linux-gnueabihf-linaro-bin
June 8, 2024 - https://aur.archlinux.org/packages/arm-none-linux-gnueabihf-toolchain-bin · Since Linaro provide gcc, glibc and binutils as necessary tools for cross-compile, I reduce these tools into a package and maintain this package to keep it up to date.
Stack Overflow
stackoverflow.com › questions › 70303359 › cross-compilation-with-gcc-linaro-4-9-2016-02-x86-64-arm-linux-gnueabihf-on-host
arm - Cross Compilation with gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf on Host with LFS/ inodes in 64bit - Stack Overflow
We can successfully compile code with gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf when all source files (incidentally) reside on the file server with inodes <= 32bit.
Arch Linux
aur.archlinux.org › packages › arm-linux-gnueabihf-gcc14-linaro-bin
AUR (en) - arm-linux-gnueabihf-gcc14-linaro-bin
December 22, 2023 - hakchi-git (requires arm-linux-gnueabihf-gcc) (make) https://snapshots.linaro.org/gnu-toolchain/14.0-2023.06-1/arm-linux-gnueabihf/gcc-linaro-14.0.0-2023.06-x86_64_arm-linux-gnueabihf.tar.xz · Recommend for install/update this package: https://aur.archlinux.org/packages/arm-linux-gnueabihf-linaro-bin ·
Linaro
linaro.org › downloads
Downloads | Linaro
The official community releases of the pre-built LLVM native toolchain for AArch64 and ARM 32-bit A-Profile cores are built and tested by Linaro and are now available on LLVM’s GitHub. In addition to the usual Linux-hosted LLVM toolchain, Linaro is now providing official LLVM Toolchain for Windows on Arm starting with LLVM 12.0.0 release.
Linaro
releases.linaro.org › components › toolchain › binaries › latest-6 › arm-linux-gnueabihf
Linaro Releases
Linaro Releases · Running linaro-license-protection 011e374
GitHub
github.com › ifm › libo3d3xx › blob › master › cmake › toolchains › linaro-arm-linux-gnueabihf.cmake
libo3d3xx/cmake/toolchains/linaro-arm-linux-gnueabihf.cmake at master · ifm/libo3d3xx
# $ cd /mnt/rootfs/usr/lib/arm-linux-gnueabihf · # $ sudo patch -b libc.so libc.so.patch · # $ sudo patch -b libpthread.so libpthread.so.patch · # # Backup files are made as `.orig` in the same directory. # set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSROOT /mnt/rootfs) · set(CROSSTOOL_ROOT /opt/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux) set(CMAKE_C_COMPILER "${CROSSTOOL_ROOT}/bin/arm-linux-gnueabihf-gcc") set(CMAKE_CXX_COMPILER "${CROSSTOOL_ROOT}/bin/arm-linux-gnueabihf-g++") ·
Author ifm
Arm Developer
developer.arm.com › downloads › - › arm-gnu-toolchain-downloads
Arm GNU Toolchain Downloads – Arm Developer
Please report any bugs via the Linaro Bugzilla under "GNU Binary Toolchain" product. The packages of the released GNU toolchain binaries have the following naming convention: arm-gnu-toolchain-<Release Version>-<Host>-<Target Triple>.tar.xz · In the following table, <Target Triple> is listed in parentheses in the second column as part of target description. ... For Windows, the binaries are provided in zip files and with installers. For Linux, the binaries are provided as tarball files.
GitHub
github.com › chenxiaoqun › gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf › blob › master › gcc-linaro-4.9.4-2017.01-linux-manifest.txt
gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/gcc-linaro-4.9.4-2017.01-linux-manifest.txt at master · chenxiaoqun/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf
gdb_configure="--with-gnu-ld --enable-plugins --enable-tui --with-pkgversion=Linaro_GDB-2017.01 --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof --with-python=yes" ... build directory: /home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds
Author chenxiaoqun
GitHub
github.com › raspberrypi › tools › tree › master › arm-bcm2708 › gcc-linaro-arm-linux-gnueabihf-raspbian-x64
tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64 at master · raspberrypi/tools
arm-linux-gnueabihf · bin · bin · lib/gcc/arm-linux-gnueabihf/4.8.3 · lib/gcc/arm-linux-gnueabihf/4.8.3 · libexec/gcc/arm-linux-gnueabihf/4.8.3 · libexec/gcc/arm-linux-gnueabihf/4.8.3 · share · share · View all files ·
Author raspberrypi
Arch Linux
aur.archlinux.org › packages › arm-linux-gnueabihf-gcc13-linaro-bin
AUR (en) - arm-linux-gnueabihf-gcc13-linaro-bin
https://snapshots.linaro.org/gnu-toolchain/13.0-2022.09-1/arm-linux-gnueabihf/gcc-linaro-13.0.0-2022.09-x86_64_arm-linux-gnueabihf.tar.xz
GitHub
github.com › sdphome › gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux
GitHub - sdphome/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux: arm cross compile for uhf project
arm cross compile for uhf project. Contribute to sdphome/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux development by creating an account on GitHub.
Author sdphome
OpenEmbedded
layers.openembedded.org › layerindex › recipe › 88415
OpenEmbedded Layer Index - gcc-linaro-4.9-2014.11-x86-64-arm-linux-gnueabihf
gcc-linaro-4.9-2014.11-x86-64-arm-linux-gnueabihf ·
Raspberry Pi Forums
forums.raspberrypi.com › board index › community › general discussion
Updating the cross-compilation toolchain - Raspberry Pi Forums
June 8, 2022 - root@devqt-desktop:~/raspi/qtbase# ./configure -release -opengl es2 -device linux-rasp-pi4-v3d-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix ...