CI: build in ci, more streamlined toolchain

Reviewed-on: #2
Co-authored-by: Stepan Usatiuk <stepan@usatiuk.com>
Co-committed-by: Stepan Usatiuk <stepan@usatiuk.com>
This commit is contained in:
2024-04-28 08:36:50 +02:00
committed by Stepan Usatiuk
parent bf31f41d9a
commit df13f41be2
15 changed files with 245 additions and 62 deletions

View File

@@ -15,7 +15,7 @@ pushd gcc-i686-elf
if [ ! -d gcc-13.2.0 ]; then
wget https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz
tar xvf gcc-13.2.0.tar.xz
tar xf gcc-13.2.0.tar.xz
rm gcc-13.2.0.tar.xz
fi
@@ -47,6 +47,9 @@ if [ ! -z ${USE_BREW_LIBS+x} ]; then
ADDONS="$HOMEBREW_LIBS $ADDONS"
fi
pushd ../gcc-13.2.0/
./contrib/download_prerequisites
popd
../gcc-13.2.0/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++ --with-newlib --without-headers --enable-version-specific-runtime-libs $ADDONS
make -j$(nproc) all-gcc
make -j$(nproc) all-target-libgcc