mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-29 00:27:52 +01:00
build libstdc++ too
This commit is contained in:
@@ -48,8 +48,12 @@ cd gcc-x86_64-os3
|
||||
rm -rf build
|
||||
mkdir -p build
|
||||
cd build
|
||||
../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
|
||||
../gcc-13.2.0/configure --target=$TARGET --prefix="$PREFIX" --with-sysroot="$OS2_ROOT/sysroot" --disable-nls \
|
||||
--enable-languages=c,c++ --with-newlib --disable-libstdcxx-threads \
|
||||
--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 -j$(nproc) all-target-libstdc++-v3
|
||||
make install-gcc
|
||||
make install-target-libgcc
|
||||
make install-target-libstdc++-v3
|
||||
|
||||
@@ -1133,6 +1133,7 @@ esac
|
||||
|
||||
case ${target} in
|
||||
x86_64-*-os3*)
|
||||
tmake_file="${tmake_file} i386/t-x86_64-os3"
|
||||
tm_file="${tm_file} i386/unix.h i386/att.h elfos.h glibc-stdint.h i386/i386elf.h i386/x86-64.h os3.h"
|
||||
;;
|
||||
aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*)
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# Add libgcc multilib variant without red-zone requirement
|
||||
|
||||
MULTILIB_OPTIONS += mno-red-zone mcmodel=large
|
||||
Reference in New Issue
Block a user