经过各种尝试、发现使用Ubuntu16的LTS版本系统可以安装已经编译好的gcc4.9版本,我们使用虚拟机安装Ubuntu16 在 https://pkgs.org/download/gcc 下载gcc以及g+