常见工具安装,包括:
软件 | 备注 |
---|---|
m4 | autoconf依赖 |
autoconf | autoconf依赖 |
automake | autoconf依赖 |
libtools | autoconf依赖 |
gmp | gcc安装依赖 |
mpfr | gcc安装依赖 |
mpc | gcc安装依赖 |
isl | gcc安装依赖 |
gcc | gcc安装依赖 |
安装m4
代码语言:javascript复制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
代码语言:javascript复制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
代码语言:javascript复制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
代码语言:javascript复制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
代码语言:javascript复制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
代码语言:javascript复制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
代码语言:javascript复制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
代码语言:javascript复制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
代码语言:javascript复制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