Skip to content

AndroiableDroid/toolchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

AArch64 Prebuilt GCCs

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.

Notice

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.

Cloning the toolchain

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.1
  • opt-linaro-7.x - Linaro GCC 7.3.1
  • elf-9.x - GNU GCC ELF 9.1.0
  • linux-gnu-10.x - GNU GCC 10.0.0 (experimental)

Using the toolchain

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.

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published