Toolchain: Build GCC with --with-newlib

This commit is contained in:
Andreas Kling 2019-04-29 15:09:57 +02:00
parent 8cbb7f101f
commit 02b69cf06a
Notes: sideshowbarker 2024-07-19 14:32:44 +09:00

View file

@ -5,7 +5,7 @@ echo $DIR
TARGET=i686-pc-serenity
PREFIX="$DIR/Local"
SYSROOT="$DIR/../Base"
SYSROOT="$DIR/../Root"
mkdir -p "$DIR/Tarballs"
@ -68,6 +68,8 @@ pushd "$DIR/Build/"
$DIR/Tarballs/gcc-8.3.0/configure --prefix=$PREFIX \
--target=$TARGET \
--with-sysroot=$SYSROOT \
--disable-nls \
--with-newlib \
--enable-languages=c,c++ || exit 1
make -j $(nproc) all-gcc all-target-libgcc
@ -79,4 +81,5 @@ pushd "$DIR/Build/"
make all-target-libstdc++-v3
make install-target-libstdc++-v3
popd
popd
popd