作者woptspencil (小熊)
看板b96902HW
标题[编译] GMP & MPFR required
时间Thu Feb 25 20:31:29 2010
我在装gcc的时候,一切都还算顺利,直到这行的时候:
../src/configure --prefix=欧美嘎/gcc-4.4.3/install --enable -languages=c
执行玩之後跑出来的结果
上面版本检查什麽的还没什麽问题
但是最下面出现了这个
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
See also
http://gcc.gnu.org/install/prerequisites.html for additional info.
If you obtained GMP and/or MPFR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.
意思是我要去装GMP跟MPFR这两个library吗?
是不是只要把library抓下来之後把路径指定给它就好了咧?
有请高手解惑= =||
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.244.137
1F:推 LoganChien:下载回来的 GMP, MPFR, MPC 都是原始码,还必需再编译 02/25 20:56
2F:→ LoganChien:一样是用 ./configure, make, make install 的指令。 02/25 20:57
3F:→ LoganChien:我刚才看了一下,Cygwin 好像有现成的 library 可以装, 02/25 20:57
4F:→ LoganChien:不过我没有试过,你可以试试看。 02/25 20:58
5F:→ woptspencil:感谢~已解决 02/25 22:59
6F:推 Thompson:请问一下 ./configure 指令後 该接什麽? 03/02 18:45