Git Product home page Git Product logo

toolchain.rk's Introduction

LG Hom Bot Cross-Compiler

This project contains scripts and patches for building cross compiler on Linux for any model of LG Hom Bot.

The quality of produced cross-compiler is sufficient for building working strace and gdb.

LG Hom Bot models contain glibc 2.4 in their firmware. This cross-compiler, however, is built with glibc 2.5 with manual version downgrade to 2.4. This was done due to compilation issues of glibc 2.4 with kernel 2.6.33 used on Hom Bot. Too many patching to glibc 2.5 is needed to successfully compile glibc 2.4 with this kernel. Perhaps glibc 2.4 was compiled with older linux kernel for the device and then the kernel was upgraded, but glibc 2.4 was kept.

Prerequisites

These packages need to be installed into the system, prior to building cross-compiler.

sudo apt-get install libgmp-dev libmpfr-dev build-essentials

Cross-compiler is being built by default into /opt/arm-rk, this directory must be writable for the user, that runs build scripts.

Building

git clone https://github.com/vlasenko/toolchain.rk
cd toolchain.rk
./all.sh

This should produce working cross-compiler into /opt/ark-rk. Script will download kernel, binutils, glibc, gcc, apply patches. After that it will build Binutils, GCC pass 1, Glibc and finally GCC pass 2 with C and C++ compilers.

toolchain.rk's People

Contributors

larixer avatar altbert 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.