Coder Social home page Coder Social logo

trojanzaro / barebones-toolchain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rm-hull/barebones-toolchain

0.0 0.0 0.0 550.46 MB

Barebones [ i686-elf / ARMv7-eabi / MIPS ] cross-compiler & toolchain

Logos 0.15% XC 0.15% C 40.85% C++ 21.59% Objective-C 3.43% Shell 0.25% XS 0.14% Groff 33.44%

barebones-toolchain's Introduction

Barebones [ i686-elf / ARMv7-eabi / MIPS ] cross-compiler & toolchain

This repo provides a stand-alone barebones gcc cross-compiler and toolchain for the following target architectures:

  • i686 (32-bit ELF),
  • ARMv7 (eabi),
  • MIPS

There are two platform flavors, 32- and 64-bit depending on your host linux environment. The correct one is automatically chosen when the setenv.sh script is run.

Provided versions

Package Version
binutils 2.27
gcc 6.2.0
gmp 6.1.1
isl 0.17
libiconv 1.14
mpc 1.0.3
mpfr 3.1.4

Setup details

Git clone this repository, then run the setenv.sh script to configure your PATH:

$ git clone https://github.com/rm-hull/barebones-toolchain.git
$ cd barebones-toolchain
$ . ./setenv.sh

Check that it worked:

$ i686-elf-gcc --version
i686-elf-gcc (GCC) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GCC) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ mips-gcc --version
mips-gcc (GCC) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Prior versions

All built versions are tagged in git, and follow the gcc version number:

$ git tags
4.9.1
4.9.2
6.2.0

If you want to use an older version, checkout with that specific tag:

$ git checkout 4.9.2

TODO

  • Build 64-bit platform tools for ARMv7 target
  • Build 32- & 64-bit platform tools for MIPS target

Acknowledgements

Built from instructions here: http://wiki.osdev.org/GCC_Cross-Compiler.

ARM build was exactly the same except: export TARGET=arm-none-eabi. Likewise MIPS build was exactly the same except: export TARGET=mips.

barebones-toolchain's People

Contributors

rm-hull 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.