Maybe aarch64-linux-gnu-gcc is not installed. Try
sudo apt-get install gcc-aarch64-linux-gnu
Answer from user7305360 on Stack OverflowGNU
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 ...
Arm Developer
developer.arm.com › downloads › - › arm-gnu-toolchain-downloads
Arm GNU Toolchain Downloads – Arm Developer
$ export PATH=$PATH:<install-dir>/arm-gnu-toolchain-14.3.rel1-<HOST_ARCH>-aarch64-none-elf/bin $ aarch64-none-elf-gcc --version
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
Debian
packages.debian.org › sid › gcc-aarch64-linux-gnu
Debian -- Details of package gcc-aarch64-linux-gnu in sid
This is the GNU C compiler, a fairly portable optimizing compiler for C · This is a dependency package providing the default GNU C cross-compiler for the arm64 architecture
Arch Linux
archlinux.org › packages › extra › x86_64 › aarch64-linux-gnu-gcc
Arch Linux - aarch64-linux-gnu-gcc 16.1.0-1 (x86_64)
View the file list for aarch64-linux-gnu-gcc · View the soname list for aarch64-linux-gnu-gcc · Copyright © 2002-2026 Judd Vinet, Aaron Griffin and Levente Polyák. The Arch Linux name and logo are recognized trademarks. Some rights reserved.
Fedora
packages.fedoraproject.org › pkgs › cross-gcc › gcc-aarch64-linux-gnu
gcc-aarch64-linux-gnu - Fedora Packages
Cross-build binary utilities for aarch64-linux-gnu ... Cross-build GNU C compiler. Only building kernels is currently supported. Support for cross-building user space programs is not currently provided as that would massively multiply the number of packages. ... License(s): GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl
GNU
gcc.gnu.org › onlinedocs › gcc-8.1.0 › gcc › AArch64-Options.html
Using the GNU Compiler Collection (GCC): AArch64 Options
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, The permissible values for feature are listed in the sub-section on -march and -mcpu Feature Modifiers. Where conflicting feature modifiers are specified, the right-most feature is used. GCC ...
Arch Linux ARM
archlinuxarm.org › packages › aarch64 › gcc
gcc (aarch64) | Packages | Arch Linux ARM
Copyright ©2009-2026 Arch Linux ARM The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis. The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead
Linux Man Pages
linux.die.net › man › 1 › aarch64-linux-gnu-gcc
aarch64-linux-gnu-gcc(1) - Linux man page
When you invoke GCC , it normally does preprocessing, compilation, assembly and linking. The "overall options" allow you to stop this process at an intermediate stage. For example, the -c option says not to run the linker.
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
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%
GitHub
github.com › gcc-mirror › gcc › blob › master › gcc › config › aarch64 › aarch64.h
gcc/gcc/config/aarch64/aarch64.h at master · gcc-mirror/gcc
/* Define AARCH64_FL aliases for architectural features which are protected · by -march flags in binutils but which receive no special treatment by GCC. These features are used in the aarch64-sys-regs.def file, which is copied · from Binutils. · We should try to eliminate these inconsistencies in future.
Author gcc-mirror
GNU
gcc.gnu.org › onlinedocs › gcc › AArch64-Built-in-Functions.html
AArch64 Built-in Functions (Using the GNU Compiler Collection (GCC))
unsigned int __builtin_aarch64_get_fpcr (); void __builtin_aarch64_set_fpcr (unsigned int); unsigned int __builtin_aarch64_get_fpsr (); void __builtin_aarch64_set_fpsr (unsigned int); unsigned long long __builtin_aarch64_get_fpcr64 (); void __builtin_aarch64_set_fpcr64 (unsigned long long); unsigned long long __builtin_aarch64_get_fpsr64 (); void __builtin_aarch64_set_fpsr64 (unsigned long long);
Arm Developer
developer.arm.com › downloads › - › gnu-a
Downloads | GNU-A Downloads – Arm Developer
Download the toolchain manifest file from the GNU Arm toolchain page on developer.arm.com, for example: gcc-arm-aarch64-none-elf-abe-manifest.txt.
Debian
packages.debian.org › stretch › gcc-aarch64-linux-gnu
Client Challenge
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
Google
android.googlesource.com › platform › prebuilts › gcc › linux-x86 › aarch64 › aarch64-linux-android-4.9
platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 - Git at Google
043dc0a gcc-4.9: remove GCC from Android am: fc97ce6abf am: 2db20c200c am: e9c1ef3cf1 by Automerger Merge Worker ·
GNU
gcc.gnu.org › onlinedocs › gcc › AArch64-Function-Attributes.html
AArch64 Function Attributes (Using the GNU Compiler Collection (GCC))
The node you are looking for is at AArch64 Function Attributes.