don't forget sysroot

This commit is contained in:
2024-03-29 18:14:09 +01:00
parent 0009aae458
commit 86d61f0bcc

View File

@@ -27,7 +27,7 @@ cd gcc-x86_64-os3
rm -rf build
mkdir -p build
cd build
../gcc-13.2.0/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++ --with-newlib --without-headers --enable-version-specific-runtime-libs --with-gmp=/opt/homebrew --with-mpc=/opt/homebrew --with-mpfr=/opt/homebrew
../gcc-13.2.0/configure --target=$TARGET --prefix="$PREFIX" --with-sysroot="$OS2_ROOT/sysroot" --disable-nls --enable-languages=c,c++ --with-newlib --without-headers --enable-version-specific-runtime-libs --with-gmp=/opt/homebrew --with-mpc=/opt/homebrew --with-mpfr=/opt/homebrew
make -j$(nproc) all-gcc
make -j$(nproc) all-target-libgcc
make install-gcc
@@ -47,7 +47,7 @@ cd gcc-x86_64-os3
rm -rf build
mkdir -p build
cd build
../gcc-13.2.0/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++ --with-newlib --enable-version-specific-runtime-libs --with-gmp=/opt/homebrew --with-mpc=/opt/homebrew --with-mpfr=/opt/homebrew
../gcc-13.2.0/configure --target=$TARGET --prefix="$PREFIX" --with-sysroot="$OS2_ROOT/sysroot" --disable-nls --enable-languages=c,c++ --with-newlib --enable-version-specific-runtime-libs --with-gmp=/opt/homebrew --with-mpc=/opt/homebrew --with-mpfr=/opt/homebrew
make -j$(nproc) all-gcc
make -j$(nproc) all-target-libgcc
make install-gcc