Merge pull request 'readd gmp, mpfr, mpc to gcc build file' (#28) from Ohio2/repo:master into master

Reviewed-on: alnux/repo#28
This commit is contained in:
hippoz 2021-07-17 15:03:30 +01:00
commit a93b367129

View file

@ -2,6 +2,13 @@ wget -O gcc-11.1.0.tar.gz https://gcc.gnu.org/pub/gcc/releases/gcc-11.1.0/gcc-11
tar -xf gcc-11.1.0.tar.gz tar -xf gcc-11.1.0.tar.gz
cd gcc-11.1.0 cd gcc-11.1.0
wget https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
tar -xf gmp-6.2.1.tar.xz gmp
wget https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz
tar -xf mprf-4.1.0.tar.xz mpfr
wget https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
tar -xf mpc-1.2.1.tar.gz mpc
# Use lib not lib64 by default. # Use lib not lib64 by default.
sed '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 > _ sed '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 > _
mv -f _ gcc/gcc/config/i386/t-linux64 mv -f _ gcc/gcc/config/i386/t-linux64