mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
Toolchain: Build GCC with --with-newlib
This commit is contained in:
parent
8cbb7f101f
commit
02b69cf06a
Notes:
sideshowbarker
2024-07-19 14:32:44 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/02b69cf06a0
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…
Reference in a new issue