GCC编译出错Building GCC requires GMP 4.2+, MPFR 2.3.1+ and M

原创
2016-06-07 15:32:07 2118浏览

打开qtcreator,出现 `GLIBCXX_3.4.15' not found, 发现原来是要更新GCC解决,一波三折。。。 下载GCC源代码包编译,又出现Building GCC requires GMP 4.2, MPFR 2.3.1 and MPC 0.8.0错误 查询得知 http://gcc.gnu.org/wiki/FAQ#configure What should be do

打开qtcreator,出现 `GLIBCXX_3.4.15' not found,


发现原来是要更新GCC解决,一波三折。。。

下载GCC源代码包编译,又出现Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+错误


查询得知 http://gcc.gnu.org/wiki/FAQ#configure

What should be done is to untar the GCC source code, then in the source directory run ./contrib/download_prerequisites

先在gcc解压后目录执行./contrib/download_prerequisites 会自动下载依赖的GMP等包,

下载完毕总算可以执行 ./configure了



声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。