Home >Database >Mysql Tutorial >GCC编译出错Building GCC requires GMP 4.2+, MPFR 2.3.1+ and M

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

WBOY
WBOYOriginal
2016-06-07 15:32:072736browse

打开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了



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn