Maybe aarch64-linux-gnu-gcc is not installed. Try
sudo apt-get install gcc-aarch64-linux-gnu
Answer from user7305360 on Stack OverflowArch Linux
archlinux.org › packages › extra › x86_64 › aarch64-linux-gnu-gcc
Arch Linux - aarch64-linux-gnu-gcc 15.1.0-2 (x86_64)
Arch Linux · Home · Packages · Forums · Wiki · GitLab · Security · AUR · Download · Source Files / View Changes · Bug Reports / Add New Bug · Search Wiki / Manual Pages · Security Issues · Flagged out-of-date on 2026-04-21 · Version 15.2.0-1 in testing · Download From Mirror · aarch64-linux-gnu-gcc 15.2.0-1 [extra-testing] (x86_64) aarch64-linux-gnu-binutils ·
GNU
gcc.gnu.org › onlinedocs › gcc › AArch64-Options.html
AArch64 Options (Using the GNU Compiler Collection (GCC))
The value ‘native’ is available on native AArch64 GNU/Linux and causes the compiler to pick the architecture of the host system. This option has no effect if the compiler is unable to recognize the architecture of the host system. When -march=native is given and no other -mcpu or -mtune is given then GCC ...
Videos
14:54
Compared Analysis of GCC Codegen for AArch64 and RISC-V - YouTube
01:11:03
I CAN'T BELIEVE I even had to PATCH GCC for ARM64 to build in a ...
10:16
2021 LLVM Dev Mtg “Clang vs. GCC for SPEC on AArch64” - YouTube
12:07
GCC support for the Darwin AArch64 ABI - Maxim Blinov/Andrew ...
12:03
Cross compiling for arm or aarch64 on Debian or Ubuntu - YouTube
Arch Linux ARM
archlinuxarm.org › packages › aarch64 › gcc
gcc (aarch64) | Packages | Arch Linux ARM
The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead.
Debian
packages.debian.org › sid › gcc-aarch64-linux-gnu
Debian -- Details of package gcc-aarch64-linux-gnu in sid
dep: gcc-15-aarch64-linux-gnu (>= 15.2.0-2~) GNU C compiler for the aarch64-linux-gnu architecture · rec: libc-dev [arm64] Package not available · rec: libc6-dev [arm64] GNU C Library: Development Libraries and Header Files also a virtual package provided by libc6.1-dev ·
Linux Man Pages
linux.die.net › man › 1 › aarch64-linux-gnu-gcc
aarch64-linux-gnu-gcc(1) - Linux man page
GNU/Linux Options -mglibc -muclibc -mbionic -mandroid -tno-android-cc -tno-android-ld · H8/300 Options -mrelax -mh -ms -mn -mint32 -malign-300 · HPPA Options -march=architecture-type -mbig-switch -mdisable-fpregs -mdisable-indexing -mfast-indirect-calls -mgas -mgnu-ld -mhp-ld -mfixed-range=register-range -mjump-in-delay -mlinker-opt -mlong-calls -mlong-load-store -mno-big-switch -mno-disable-fpregs -mno-disable-indexing -mno-fast-indirect-calls -mno-gas -mno-jump-in-delay -mno-long-load-store -mno-portable-runtime -mno-soft-float -mno-space-regs -msoft-float -mpa-risc-1-0 -mpa-risc-1-1 -mpa-risc-2-0 -mportable-runtime -mschedule=cpu-type -mspace-regs -msio -mwsio -munix=unix-std -nolibdld -static -threads
Arm Developer
developer.arm.com › downloads › - › gnu-a
Downloads | GNU-A Downloads – Arm Developer
The package names of the released GNU toolchain binaries have the following naming convention: gcc-arm-<Release Version>-<Host>-<Target Triple>.tar.xz · Extract XZ compressed release archive using TAR archiving utility: $ tar -xJf <toolchain binary> -C <destination directory> Example for Linux(x86_64) hosted for AArch64 Linux target
Fedora
packages.fedoraproject.org › pkgs › cross-gcc › gcc-aarch64-linux-gnu
gcc-aarch64-linux-gnu - Fedora Packages
View gcc-aarch64-linux-gnu in the Fedora package repositories. gcc-aarch64-linux-gnu: Cross-build binary utilities for aarch64-linux-gnu
Arch Linux Man Pages
man.archlinux.org › man › aarch64-linux-gnu-gcc.1.en
aarch64-linux-gnu-gcc(1) — Arch manual pages
March 18, 2020 - GNU/Linux Options (GNU/Linux Options) -mglibc -muclibc -mmusl -mbionic -mandroid -tno-android-cc -tno-android-ld · H8/300 Options (H8/300 Options) -mrelax -mh -ms -mn -mexr -mno-exr -mint32 -malign-300 · HPPA Options (HPPA Options) -march=architecture-type -matomic-libcalls -mbig-switch -mcaller-copies -mdisable-fpregs -mdisable-indexing -mordered -mfast-indirect-calls -mgas -mgnu-ld -mhp-ld -mfixed-range=register-range -mcoherent-ldcw -mjump-in-delay -mlinker-opt -mlong-calls -mlong-load-store -mno-atomic-libcalls -mno-disable-fpregs -mno-disable-indexing -mno-fast-indirect-calls -mno-gas -mno-jump-in-delay -mno-long-load-store -mno-portable-runtime -mno-soft-float -mno-space-regs -msoft-float -mpa-risc-1-0 -mpa-risc-1-1 -mpa-risc-2-0 -mportable-runtime -mschedule=cpu-type -mspace-regs -msoft-mult -msio -mwsio -munix=unix-std -nolibdld -static -threads
Arch Linux
archlinux.org › packages › extra › x86_64 › aarch64-linux-gnu-gcc › files
Arch Linux - aarch64-linux-gnu-gcc 15.1.0-2 (x86_64) - File List
usr/aarch64-linux-gnu/include/c++/15.1.0/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp
GitHub
github.com › radcolor › aarch64-linux-gnu
GitHub - radcolor/aarch64-linux-gnu: Bleeding edge GNU GCC toolchain (CC only) built from sources using latest binutils and glibc · GitHub
Bleeding edge GNU GCC toolchain (CC only) built from sources using latest binutils and glibc - radcolor/aarch64-linux-gnu
Starred by 32 users
Forked by 15 users
Languages C++ 47.2% | C 38.5% | Roff 11.3% | Perl 1.8% | Python 0.4% | XC 0.3%
Arch Linux
security.archlinux.org › package › aarch64-linux-gnu-gcc
aarch64-linux-gnu-gcc - Arch Linux
Arch Linux · Packages · Forums · GitLab · Security · Download · issues · advisories · stats · login
GitHub
github.com › najahiiii › aarch64-linux-gnu
GitHub - najahiiii/aarch64-linux-gnu: GNU GCC Toolchain
LINARO (GCC) ARM64 · 8.3.0 · LINARO 8.3.0 - 20190402 · git clone https://github.com/najahiiii/aarch64-linux-gnu.git -b linaro8-20190402 · Fine · Date · Variant · Arch · Version · Repo Link · Clone · Status · 01/03/2019 · GNU (GCC) ARM64 · 4.9.4 · GCC 4.9.4 - 20190301 ·
Starred by 11 users
Forked by 12 users
Pkgs.org
pkgs.org › download › gcc-aarch64-linux-gnu
Gcc-aarch64-linux-gnu Download (DEB, RPM)
Download gcc-aarch64-linux-gnu linux packages for ALT Linux, CentOS, Debian, Fedora, Mageia, Ubuntu · Filter: Distros: all Arches: arm intel Types: official thirdparty
Debian
packages.debian.org › gcc-aarch64-linux-gnu
Debian -- Package Search Results -- gcc-aarch64-linux-gnu
experimental (devel): GNU C compiler for the arm64 architecture 4:16-20251130-1: amd64 arm64 i386 ppc64el s390x x32
Arch Linux Man Pages
man.archlinux.org › man › extra › aarch64-linux-gnu-gcc › aarch64-linux-gnu-g++.1.en
aarch64-linux-gnu-g++(1) — Arch manual pages
GNU/Linux Options (GNU/Linux Options) -mglibc -muclibc -mmusl -mbionic -mandroid -tno-android-cc -tno-android-ld · H8/300 Options (H8/300 Options) -mrelax -mh -ms -mn -mexr -mno-exr -mint32 -malign-300 · HPPA Options (HPPA Options) -march=architecture-type -matomic-libcalls -mbig-switch ...