Giter Club home page Giter Club logo

cross-compiler-for-linux-kernel-on-x86_64's Introduction

Cross-Compiler-for-linux-kernel-on-x86_64

Tutorial to build Cross Compiler for Linux kernel on x86_64 Systems

This Respoistory is used To build CROSS COMPILATION for different architectures for Linux Kernel On Ubuntu.

The host environment used for cross compilation is Ubuntu - 18.04.

Ubuntu Arm packages used are : -

gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf

For Cross Compiler packages we are going to use Fedora packages as Debian.

Download these rpm's from Fedora portal for easy download.

blackfin: binutils-bfin-linux-gnu.rpm (any version) gcc-bfin-linux-gnu.rpm (any version)

c6x:

binutils-c6x-linux-gnu.rpm ( any version) gcc-c6x-linux-gnu.rpm(any version)

tile: bintuils-tile-linux-gnu.rpm( any version) gcc-tile-linux.rpm(any version)

For the installation of cross-compilation you can use Ubuntu version

Note: Do Install these packages for Linux Kernel Compilation.

sudo apt-get install build-essential sudo apt-get install ncurses-dev sudo apt-get install multi-arch sudo apt-get install alien

Convert RPM To DEB

sudo alien -d binutils-bfin-linux-gnu.rpm (any version) sudo alien -d gcc-bfin-linux.gnu.rpm (any version)

sudo alien -d binutils-c6x-linux-gnu.rpm (any version) sudo alien -d gcc-c6x-linux-gnu.rpm (any version

sudo alien -d binutils-tile-linux-gnu.rpm (any version) sudo alien -d gcc-tile-linux-gnu.rpm( any version)

The Following .debs file will created :-

binutils-bfin-linux-gnu_amd64.deb gcc-bfin-linux-gnu_amd64.deb

binutils-c6x-linux-gnu_amd64.deb gcc-c6x-linux-gnu_amd64.deb

binutils-tile-linux-gnu_amd64.deb gcc-tile-linux.gnu_amd64.deb

INSTALLATION:

  1. ARM: sudo apt-get install gcc-arm-linux-gnueabi

  2. ARM64:

sudo apt-get install gcc-aarch64-linux-gnu sudo ln -s /usr/bin/aarch64-linux-gnueabi-gcc-7 /usr/bin/aarch64-linux-gnu-gcc

  1. ALPHA: sudo apt-get install gcc-alpha-linux-gnu sudo ln -s /usr/bin/alpha-linux-gnueabi-gcc-7 /usr/bin/alpha-linux-gnu-gcc

For Cross Compilation Download Linux kernel from https://www.kernel.org untar using

cross-compiler-for-linux-kernel-on-x86_64's People

Contributors

yashomer1994 avatar

Stargazers

 avatar

Watchers

James Cloos 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.