常见工具安装,包括:
软件 | 备注 |
m4 | autoconf依赖 |
autoconf | autoconf依赖 |
automake | autoconf依赖 |
libtools | autoconf依赖 |
gmp | gcc安装依赖 |
mpfr | gcc安装依赖 |
mpc | gcc安装依赖 |
isl | gcc安装依赖 |
gcc | gcc安装依赖 |
安装m4
wget http://mirrors.kernel.org/gnu/m4/m4-1.4.19.tar.gz && tar -xzvf m4-1.4.19.tar.gz
cd m4-1.4.19
./configure
make -j4
sudo make install
安装autoconf
wget http://mirrors.kernel.org/gnu/autoconf/autoconf-2.71.tar.gz && tar -xzvf autoconf-2.71.tar.gz
cd autoconf-2.71
./configure
make -j4
sudo make install
automake
wget http://mirrors.kernel.org/gnu/automake/automake-1.16.tar.gz && tar -xzvf automake-1.16.tar.gz
cd automake-1.16
./configure
make -j4
sudo make install
libtools
wget http://mirrors.kernel.org/gnu/libtool/libtool-2.4.7.tar.gz && tar -xzvf libtool-2.4.7.tar.gz
cd libtool-2.4.7
./configure
make -j4
sudo make install
gmp
wget "https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz"
tar xvf gmp-6.2.1.tar.xz
cd gmp-6.2.1
./configure
make -j4 && sudo make install
mpfr
wget https://www.mpfr.org/mpfr-current/mpfr-4.2.0.tar.xz
tar xvf mpfr-4.2.0.tar.xz
cd mpfr-4.2.0
./configure
make -j4 && sudo make install
mpc
wget https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
tar xvf mpc-1.3.1.tar.gz
cd mpc-1.3.1
./configure
make -j4 ; sudo make install
isl
wget https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.24.tar.bz2
tar xvf isl-0.24.tar.bz2
cd isl-0.24
./configure; make -j4 ; sudo make install
gcc
wget https://ftp.gnu.org/gnu/gcc/gcc-13.1.0/gcc-13.1.0.tar.gz
tar xvf gcc-13.1.0.tar.gz
cd gcc-13.1.0
./configure --disable-multilib
make -j4 ; sudo make install