Code Monkey home page Code Monkey logo

gcc-prebuilts's Introduction

DEPRECATION NOTICE

This repo will no longer be updated as I don't have the time. You can compile these toolchains yourself with either crosstool-NG or my build-tools-gcc repo. For Linaro toolchains, you can download their prebuilts on their releases site.

Prebuilt GCC toolchains

These are my personal toolchains, cross compiled for arm and arm64. They will always be up to date with the latest stable GCC (currently 7.1.1). I use them for compiling Flash Kernel. They are compiled with crosstool-NG.

Supported operating systems

Most if not all versions of 64-bit Linux should work with these as they are statically linked. Let me know if there are any issues following the questions section below.

Variants

Architecture GCC source Branch Prefix Tarball link
arm GNU arm-gnu-7.x arm-gnu-linux-androideabi- Link
arm Linaro arm-linaro-7.x arm-linaro-linux-androideabi- Link
arm64 GNU aarch64-gnu-7.x aarch64-gnu-linux-android- Link
arm64 Linaro aarch64-linaro-7.x aarch64-linaro-linux-android- Link

Using these toolchains

To use these toolchains, you first need to do a shallow clone (to avoid pulling too much history):

git clone -b <branch> --depth=1 https://github.com/nathanchance/gcc-prebuilts

Then point your cross compiler to the toolchain. For kernels, you can do the following:

export CROSS_COMPILE=$(pwd)/gcc-prebuilts/bin/<prefix>

Alternatively, if you are really short on space and don't want to clone a git repo, you can fetch the latest toolchain using the link above either via curl or wget directly to your terminal.

For kernels, you must have the following four commits:

The last two commits are from Linux upstream. The first is only needed if your version is 3.10.79 or earlier. The second is needed for both 3.10 (3.10.101 or earlier) and 3.18 (3.18.31 or earlier). I do recommend upstreaming your kernels but if you choose not to, just pick that commit.

Compiling these toolchains

If you would like to learn how to compile these toolchains, please give this README a glance.

Questions?

If you have any questions or issues, please open an issue on this repo or the build-tools-gcc repo OR make a post in the XDA thread and I'll do my best to assist you.

gcc-prebuilts's People

Contributors

nathanchance avatar

Watchers

James Cloos avatar zeta96 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.