readd gmp, mpfr, mpc
This commit is contained in:
parent
f42706dce4
commit
17cc2c55b4
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue