Use custom GCC toolchain

This commit is contained in:
2025-09-20 20:07:39 +02:00
parent 0c65bd9891
commit d50bdd0051
5 changed files with 55 additions and 3 deletions

View File

@ -17,6 +17,18 @@ prepare:
cd limine; \
make; \
fi
if [ ! -d toolchain/binutils-gdb ]; then \
cd toolchain; \
git clone git://sourceware.org/git/binutils-gdb.git --depth=1; \
$(PWD)/scripts/build-binutils-gdb.sh; \
cd ..; \
fi
if [ ! -d toolchain/gcc ]; then \
cd toolchain; \
git clone https://gcc.gnu.org/git/gcc.git --depth=1; \
$(PWD)/scripts/build-gcc.sh; \
cd ..; \
fi
cleanall:
make clean