cygwin64上gmp-6.1.2的./configure错误

时间:2018-01-04 02:52:42

标签: configuration cygwin gmp

$ ./configure
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -pedantic -fomit-frame-pointer -m64 ... no
checking compiler cc -O ... no
checking ABI=x32
checking compiler gcc -O2 -pedantic -fomit-frame-pointer -mx32 ... no
checking compiler cc  ... no
checking ABI=32
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no
checking compiler icc -no-gcc ... no
checking compiler cc -O ... no

configure:error:找不到正常工作的编译器,有关详细信息,请参阅config.log

所以我调查了cc存在:

$ ls -al /usr/bin/cc
lrwxrwxrwx 1 MeTheUser Domain Users 7 Jan  3 17:52 /usr/bin/cc -> gcc.exe
$ which gcc
/usr/bin/gcc
$ ls  -al /usr/bin/gcc
-rwxr-xr-x 3 MeTheUser Domain Users 876051 Nov 13 14:39 /usr/bin/gcc

我应该在config.log中查找什么?

0 个答案:

没有答案