From 935b4543e4b85739d9c741b2dbba013eb0a585bf Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Sat, 10 Jul 2021 12:57:41 +0200 Subject: [PATCH] fix gcc --- gcc/build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/build b/gcc/build index c505b68..8b7425c 100755 --- a/gcc/build +++ b/gcc/build @@ -7,8 +7,11 @@ wget https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz tar -xf gmp-6.2.1.tar.xz tar -xf mpfr-4.1.0.tar.xz tar -xf mpc-1.2.1.tar.gz -sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 -sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h +mv gmp-6.2.1 gmp +mv mpfr-4.1.0 mpfr +mv mpc-1.2.1 mpc +sed -i '/m64=/s/lib64/lib/' ./config/i386/t-linux64 +sed -i 's/lib64/lib/' ./config/i386/linux64.h mkdir build cd build ../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++