- Download the source code for the gcc compiler from the official website. You can download the latest version from here: https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz
wget https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz
Extract the source code:
tar xf gcc-11.2.0.tar.xz
Change to the directory where the source code was extracted:
cd gcc-11.2.0
Configure the build:
./configure --target=aarch64-linux-gnu --prefix=/usr/local
Build and install the compiler:
make -j4 && sudo make install This will build and install the aarch64-linux-gnu-gcc compiler into the /usr/local/bin directory.
Verify that aarch64-linux-gnu-gcc is installed:
aarch64-linux-gnu-gcc --version This should display the version of aarch64-linux-gnu-gcc that is installed on your system.
Arm Developer
developer.arm.com › downloads › - › gnu-a
Downloads | GNU-A Downloads – Arm Developer
Download the The GNU Toolchain for the Cortex-A Family are integrated and validated packages featuring the GCC compiler, libraries and other GNU tools necessary for software development on devices based on the Arm Cortex-A processors or the Arm A-profile architecture.
Arm Developer
developer.arm.com › downloads › - › arm-gnu-toolchain-downloads
Arm GNU Toolchain Downloads – Arm Developer
For Linux, the binaries are provided as tarball files. For macOS, the binaries are provided as tarball files and pkg files. The sources for this release are provided in the source tar ball, arm-gnu-toolchain-src-snapshot-15.2.rel1.tar.xz, and includes the following items: ... $ md5sum --check arm-gnu-toolchain-15.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz.asc arm-gnu-toolchain-15.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz: OK
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
Texas Instruments
software-dl.ti.com › jacinto7 › esd › processor-sdk-linux-jacinto7 › latest › exports › docs › linux › Overview › GCC_ToolChain.html
1.1.5. GCC ToolChain Setup — Processor SDK Linux for J721e Documentation
host# COMPILER_PATH=/opt/arm-toolchain host# mkdir -p $COMPILER_PATH host# wget -c https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-linux-gnueabihf.tar.xz -O - | tar -xv -J -C $COMPILER_PATH host# wget -c https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-linux-gnu.tar.xz -O - | tar -xv -J -C $COMPILER_PATH host# export CROSS_COMPILE_64=$COMPILER_PATH/arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- host# export CROSS_COMPILE_32=$COMPILER_PATH/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- host# export CC_64="${CROSS_COMPILE_64}gcc" host# export CC_32="${CROSS_COMPILE_32}gcc"
Arch Linux
archlinux.org › packages › extra › x86_64 › aarch64-linux-gnu-gcc
Arch Linux - aarch64-linux-gnu-gcc 15.1.0-2 (x86_64)
Download From Mirror · aarch64-linux-gnu-gcc 15.2.0-1 [extra-testing] (x86_64) aarch64-linux-gnu-binutils · aarch64-linux-gnu-glibc · libisl · libmpc · zlib · zstd · gmp (make) mpfr (make) aarch64-linux-gnu-glibc · rust-aarch64-gnu · rust-aarch64-musl ·
Pkgs.org
pkgs.org › download › gcc-aarch64-linux-gnu
Gcc-aarch64-linux-gnu Download (DEB, RPM)
Download gcc-aarch64-linux-gnu packages for ALT Linux, CentOS, Debian, Fedora, Mageia, Ubuntu
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
GCC is capable of preprocessing and compiling several files either into several assembler input files, or into one assembler input file; then each assembler input file produces an object file, and linking combines all the object files (those newly compiled, and those specified as input) into ...
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
Texas Instruments E2E
e2e.ti.com › support › processors-group › processors › f › processors-forum › 925224 › compiler-am6548-where-can-i-find-the-aarch64-none-linux-gnu-gcc-toolchain-to-download
Compiler/AM6548: Where can I find the aarch64-none-linux-gnu-gcc toolchain to download - Processors forum - Processors - TI E2E support forums
Toolchain SDK 6.0 : aarch64-linux-gnu-gcc Toolchain SDK 7.0 : aarch64-none-linux-gnu-gcc · On TI SDK Download page for SDK 7.0 Independent toolchain is still old gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz (aarch64-linux-gnu-gcc), From where can I download independent toolchain for aarch64-none-linux-gnu-
Juszkiewicz
marcin.juszkiewicz.com.pl › 2020 › 09 › 23 › 8-years-of-my-work-on-aarch64
8 years of my work on AArch64 – Marcin Juszkiewicz
September 23, 2020 - Some time later first non-public patches for binutils and gcc arrived in my inbox. Then eglibc ones. So I started building and on 12th September 2012 I was able to build helloworld: 12:38 hrw@puchatek:aarch64-oe-linux$ ./aarch64-oe-linux-gcc ~/devel/sources/hello.c -o hello 12:38 ...
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.
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
These Builds (on master/main branch) are always made from the latest GCC sources rather than stable releases. This toolchain AArch64 AArch32 here. Built with Support for Link Time Optimization, -O3, --disable-nls and removed extras that we don't need. Clone using git from this repo, As currently we don't have any mirror or a archived release. $ git clone https://github.com/theradcolor/aarch64-linux-gnu --depth=1
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 Man Pages
man.archlinux.org › man › aarch64-linux-gnu-gcc.1.en
aarch64-linux-gnu-gcc(1) — Arch manual pages
March 18, 2020 - gcc - GNU project C and C++ compiler · gcc [-c|-S|-E] [-std=standard] [-g] [-pg] [-Olevel] [-Wwarn...] [-Wpedantic] [-Idir...] [-Ldir...] [-Dmacro[=defn]...] [-Umacro] [-foption...] [-mmachine-option...] [-o outfile] [@file] infile
Ubuntu
packages.ubuntu.com › bionic › devel › gcc-aarch64-linux-gnu
Ubuntu – Error
two or more packages specified (gcc-aarch64-linux-gnu bionic) Content Copyright © 2025 Canonical Ltd.; See license terms. Ubuntu is a trademark of Canonical Ltd. Learn more about this site.