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.
If you've no idea on how to improve this README file, it's better to not even fork this repository; just clone and use it. Forking a repository for nothing other than bumping your repository count is a waste of resources.
People are becoming more and more weird these days.
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.2.1opt-linaro-7.x
- Linaro GCC 7.3.1elf-9.x
- GNU GCC ELF 9.1.0linux-gnu-10.x
- GNU GCC 10.0.0 (experimental)
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/<toolchain-prefix>- ...
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