Giter VIP home page Giter VIP logo

toolchain's Introduction

ArchiToolchain

This toolchain is optimized for:

  • Hard-float ABI (-mfloat-abi=hard)
  • Linux Kernel 4.2.X (with legacy support down to 2.6.X)

This toolchain uses:

  • GNU GCC 5.2.X (latest)

ArchiToolchain is a minimalistic toolchain which should be used as "arm-eabi" alternative during compiling Linux kernels. It uses, and is possible, thanks to crosstool-NG

Exact config used for building each toolchain is always available in "bin/*-ct-ng.config" file, which can be then used for reproducing the build with latest crostool-NG.

Each ArchiToolchain is pre-optimized for specific target, which means that some options are always used as the default ones. You can still override them by specifying your own flags during compilation.

Check currently available toolchains for the one that suits you best. In case you can't find such, you can always use generic ArchiToolchain, which should work with all targets, but is not pre-optimized for any of them.


AOSP trees

You can use ArchiToolchain also in AOSP trees (during compiling of an Android) by adding it in your local manifest. Local manifest for AOSP is located in $(SRCTREE)/.repo/local_manifests/roomservice.xml, where $(SRCTREE) is the root of your AOSP tree. Local manifest may not exist (yet), so you may need to create it firstly.

Example for using this ArchiToolchain with Lollipop AOSP tree:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- cut here -->
<remove-project name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" />
<project name="ArchiDroid/Toolchain" path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" remote="github" revision="architoolchain-5.2-arm-linux-gnueabihf" />
<!-- cut here -->
</manifest>

Example for using this ArchiToolchain with KitKat AOSP tree:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- cut here -->
<remove-project name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" />
<project name="ArchiDroid/Toolchain" path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" remote="github" revision="architoolchain-5.2-arm-linux-gnueabihf" />
<!-- cut here -->
</manifest>

After next repo sync, you should notice that ArchiToolchain repo is available in the path specified by your manifest.

toolchain's People

Contributors

justarchi avatar

Watchers

James Cloos avatar klozz (TeamMEX) avatar  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.