mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
Toolchain: Build GCC with --with-newlib
This commit is contained in:
parent
8cbb7f101f
commit
02b69cf06a
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue