赞
踩
1.安装所需工具:
yum groupinstall "Development Tools"
yum install glibc-static libstdc++-static
2.下载安装gcc:http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/
tar -xvf gcc-5.4.0.tar.bz
cd gcc-5.4.0
./contrib/download_prerequisits
mkdir build
cd build
# path/to/install 就是要安装GCC的目录
../configure --disable-checking --enable-languages=c,c++ --disable-
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。