Git Product home page Git Product logo

tc-bootstrapper's Introduction

tc-bootsrapper

! Warning some changes pushed to the main branch may not work as expected or not at all resulting in broken build. In the future there will be automated unit tests and checks before commit. For now please use releases marked as usable or the stable branch. The code is also in very early stage. DO NOT USE IT IN PRODUCTION or any critical tasks.

Easily create a toolchain for os development or cross compiling. Support for libgcc without redzone is supported for versions 10, 12, 13 Stable and tested LTS versions are GCC 13.2.0 and Binutils 2.42

Progress

Works pretty well now (with code editing), fixing some bugs then i will refacctor some things and add argument parsing, prettier output and configuration so multiple parts dont need to be rerun multiple times

Dependencies

  • Linux system (for now)
  • urllib (py3)
  • patch
  • BeautifulSoup4 (py3)
  • tarfile (py3)
  • shutil (py3)
  • gnupg (py3)

also add things like clean that delete the tarballs and work folder

Usage

Options and help menu

python3 main.py --help

Build full toolchain

python3 main.py -t gcc binutils -w ../downloaded/work -i ../downloaded/install -g -n 8 --arch="x86_64-elf" --gcc_flags="-disable-nls --enable-languages=c,c++ --without-headers" --gcc_version="LTS" -c -r -m --binutils_version="LTS" --binutils_flags="--with-sysroot --disable-nls --disable-werror"

Major todo

  • Effective way to use timestamp to prevent multiple verifications
  • Fix path bugs when calling function eg. path is /path//file instead od /path/file
  • More user friendly output
  • Make this work on non POSIX compliant systems
  • add requirements.txt for the pip
  • Create man page
  • Create wheel package

tc-bootstrapper's People

Contributors

shadowdevz avatar

Watchers

 avatar

tc-bootstrapper's Issues

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.