View Code? Open in Web Editor
NEW
This project forked from lhtin/gnu-toolchain
For gcc develop (build and test on x86 and AArch64)
Shell 2.98%
C++ 1.79%
Python 0.02%
Perl 0.55%
C 71.47%
Emacs Lisp 0.05%
Fortran 0.01%
Assembly 11.69%
TeX 3.51%
Makefile 5.20%
HTML 0.32%
Smarty 0.04%
XS 0.25%
Yacc 0.04%
Lex 0.01%
M4 1.89%
GDB 0.01%
Raku 0.01%
DenizenScript 0.17%
gnu-toolchain's Introduction
bootstrap and test on x86
git clone --recurse-submodules -j10 https://github.com/lhtin/gnu-toolchain.git
Clone代码
cd gnu-toolchain
进入仓库
make update-to-trunk
将gcc和golden-gcc更新到最新的trunk
cd gcc && git am /path/to/patch
将需要测试的patch apply上去
make test
构建test版本gcc和golden版本的gcc并跑测试,然后对比测试结果
build and test on AArch64
git clone --recurse-submodules -j10 https://github.com/lhtin/gnu-toolchain.git
Clone代码
cd gnu-toolchain
进入仓库
make update-to-trunk
将gcc和golden-gcc更新到最新的trunk
cd gcc && git am /path/to/patch
将需要测试的patch apply上去
make test-aarch64
构建test版本gcc和golden版本的gcc并跑测试,然后对比测试结果
./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
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
Watchers