Giter Site home page Giter Site logo

toolchains's Introduction

GCC toolchain generator script

Shell script to build plain elf gcc toolchains for various architectures

Sample run:

./doit -f -a "i386 x86_64 aarch64"

This will download sources to and build 3 toolchains, for i386, x86_64 and aarch64. The resulting output will be located in

<arch>-elf-<version>-<hostos>-<host arch>/

For example: aarch64-elf-7.1.0-Linux-x86_64/

Run ./doit with -h for help.

toolchains's People

Contributors

anatol avatar doug65536 avatar erincandescent avatar jamesr avatar nvll avatar petrhosek avatar s0be avatar shinykitten avatar swetland avatar travisg avatar xdje42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toolchains's Issues

Add clang/lld to the toolchains

It would be great to try the latest versions of clang/lld. Unfortunately the one shipped with Debian/Ubuntu LTS are too old. Could toolchans project add support for newer clang?

cross compiler toolchains size

OS : Ubuntu 19.04
Branches 8.2 : GCCVER=8.2.0 + BINVER=2.31.1

I use cmd: ./doit -f -a "i386"
the size of my cross-compiler is too big(about 950M) , Can you tell me how to reduce size of cross-compiler tools?

360-165110079311486
360-16501110076462

How can I use this toolchain

After I build it,
I run ./arm-eabi-4.9.1/bin/arm-eabi-gcc hello.c
it says:
hello.c:1:18: fatal error: stdio.h: No such file or directory
#include<stdio.h>
^
compilation terminated.

then I run ./arm-eabi-4.9.1/bin/arm-eabi-gcc -I/usr/include hello.c
It says:
/opt/x-tools/arm-eabi-4.9.1/bin/../lib/gcc/arm-eabi/4.9.1/../../../../arm-eabi/bin/ld: cannot find crt0.o: No such file or directory
/opt/x-tools/arm-eabi-4.9.1/bin/../lib/gcc/arm-eabi/4.9.1/../../../../arm-eabi/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status

How can I run it?

And I think you should build libc or uclibc in the toolchian to solve the -lc problem.

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.