2024-09-09ubuntu 20.04安装GCC G++ 6.2,支持c++ 141.下载源码包wgethttp://ftp.gnu.org/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz22.解压tarjxfgcc-6.2.0.tar.bz23.下载编译依赖cdgcc-6.2.0./contrib/download_prerequisites4.生成makefile文件mkdirgcc-build-6.2.0cdgcc-build-6.2.0/../configure-