Linux 安装常见编译工具安装

常见工具安装,包括:

软件备注
m4autoconf依赖
autoconfautoconf依赖
automakeautoconf依赖
libtoolsautoconf依赖
gmpgcc安装依赖
mpfrgcc安装依赖
mpcgcc安装依赖
islgcc安装依赖
gccgcc安装依赖

安装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
# linux 


标 题:《Linux 安装常见编译工具安装
作 者:zeekling
提 示:转载请注明文章转载自个人博客:浪浪山旁那个村

评论

取消