Code Monkey home page Code Monkey logo

gnu-toolchain's Introduction

bootstrap and test on x86

  1. git clone --recurse-submodules -j10 https://github.com/lhtin/gnu-toolchain.git Clone代码
  2. cd gnu-toolchain 进入仓库
  3. make update-to-trunk 将gcc和golden-gcc更新到最新的trunk
  4. cd gcc && git am /path/to/patch 将需要测试的patch apply上去
  5. make test 构建test版本gcc和golden版本的gcc并跑测试,然后对比测试结果

build and test on AArch64

  1. git clone --recurse-submodules -j10 https://github.com/lhtin/gnu-toolchain.git Clone代码
  2. cd gnu-toolchain 进入仓库
  3. make update-to-trunk 将gcc和golden-gcc更新到最新的trunk
  4. cd gcc && git am /path/to/patch 将需要测试的patch apply上去
  5. make test-aarch64 构建test版本gcc和golden版本的gcc并跑测试,然后对比测试结果

Others

gnu-toolchain

  • ./build.sh make -f native.mk -j bootstrap
  • ./build.sh make -f native-simple.mk -j disable bootstrap
  • ./build.sh make -f cross-linux.mk ARCH=aarch64 -j aarch64-unknown-linux-gun
  • ./build.sh make -f cross-elf.mk ARCH=aarch64 -j aarch64-unknown-elf
  • ./build.sh make -f cross-linux.mk -j riscv64-unknown-linux-gnu
  • ./build.sh make -f cross-elf.mk -j riscv64-unknown-elf

dependence

  • wget https://gmplib.org/download/gmp-6.2.1/gmp-6.2.1.tar.xz
  • wget https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.gz --no-check-certificate
  • wget https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz --no-check-certificate

gnu-toolchain's People

Contributors

incarnation-p-lee avatar lhtin avatar

Watchers

 avatar

Forkers

zeng-xiao

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.