Due to lack of reliable server to do toolchain builds and my PC can barely handle it, I'm discontinuing this project. Anyone who has enough resources can continue it with help of resources linked below.
GCC 8.2.0 patches may fail to apply on upstream GCC 8.2.x (last time I was able to build there were 2 failing patches, dunno now). In that case, please apply the failing patches and resolve the conflicts manually then run the build function once again.
If you get any errors while building, they're your own problem. Don't report any issue to crosstool-NG as they won't care if you don't follow default settings for most of the configuration (which I don't).
Finally, to be able to extract the GMP snapshot tarball, you need to install or build lzip
from source.
And, if you choose to continue the project, good luck.
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.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.
- My server environment script, particularly
ct-ng_build
function - crosstool-NG defconfig
- Script to update git projects and merge crosstool-NG patches