4 安装gcc-4.8和g++4.8。 update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100 sudo update-alternatives --config gcc 安装g+