This repository hosts pre-built versions of Linaro GCC targeting the aarch64-linux-gnu
architecture.
This project compiles and packages Linaro GCC 7.5-2019.12 for the ARM64 architecture.
- Source Code: Linaro GCC 7.5 2019.12
- Version: 7.5-2019.12
- Target:
aarch64-linux-gnu
Clone the repository:
git clone https://github.com/HSB0y/aarch64-linux-gnu-linaro-7.5-2019.12.git
cd aarch64-linux-gnu-linaro-7.5-2019.12
To build the linaro gcc toolchain, follow the instructions below:
- Download the source code
wget https://releases.linaro.org/components/toolchain/gcc-linaro/7.5-2019.12/gcc-linaro-7.5-2019.12.tar.xz
- Unzip the source code
tar -xf gcc-linaro-7.5-2019.12.tar.xz
- Change the working directory
cd gcc-linaro-7.5-2019.12
- Download dependencies
./contrib/download_prerequisites
- Setup the build directory
mkdir ../gcc-build cd ../gcc-build
- Configure the build
../gcc-linaro-7.5.0-2019.12/configure \ --prefix=<install-path> \ --target=aarch64-linux-gnu \ --enable-languages=c,c++ \ --disable-multilib \ --disable-nls \ CC=gcc-11-aarch64-linux-gnu \ CXX=g++-11-aarch64-linux-gnu
- Build the toolchain
make -j$(nproc)
- Install the toolchain
make install