5.升级gcc mkdir /usr/local/tools && cd /usr/local/tools wget http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-5.5.0/gcc-5.5.0.tar.xz tar xf gcc-5.5.0.tar.xz cd gcc-5.5.0 ./contrib/download_prerequisites mkdir build && cd build ../configure --enable-checking=release --enable-languages=c,c++ --disable-multilib make && make install 6.升级cmake 建议另外开一个session防止环境变量未生效
cd /usr/local/tools wget https://github.com/Kitware/CMake/releases/download/v3.14.5/cmake-3.14.5.tar.Z ./bootstrap make && make install 如果出现以下错误 ibstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./destructor) 处理如下: