Bleeding edge GNU/Linaro GCC toolchains built from sources using latest git version of crosstool-NG. These prebuilt toolchains are primarily for building kernels, hence only CC compiler is exist. Additionally, all toolchains are generic-optimized so it should be compatible with all ARM64 devices.
Run this command anywhere on your environment:
$ git clone git://github.com/krasCGQ/aarch64-linux-android -b <branch> --depth=1
Where <branch>
is one of these branches:
a53-7.x
- GNU GCC 7.2.1, optimized for Cortex-A53 (deprecated)opt-gnu-7.x
- GNU GCC 7.3.1 (deprecated)opt-gnu-8.x
- GNU GCC 8.1.1opt-linaro-7.x
- Linaro GCC 7.3.1
I'm assuming that you're building kernels and have all patches included in your kernel source. For that, pass CROSS_COMPILE
variable as one of make
parameters.
$ make ARCH=arm64 CROSS_COMPILE=</path/to/toolchain>/bin/aarch64-opt-linux-android- ...
I recommend this way since exporting CROSS_COMPILE
doesn't always work.
Have something wrong? It's your own job to figure and fix all issues you may counter.
Also, to be warned: This toolchain is NOT COMPATIBLE for use with clang.
- crosstool-NG defconfig
- Script to update git projects and merge crosstool-NG patches
- ISL patch (essentialy reverts) - required if you choose to use latest ISL from git as one of your self-built toolchain components