error: could not find a working compiler

Hari Narasimhan H.N hari.narasimhanhn at gmail.com
Thu Jul 16 13:34:42 UTC 2015


Hi,

I encountered an error while building GMP-6.0.0 on cygwin while configuring

configure: error: could not find a working compiler, see config.log for
details

$ ./configure
checking build system type... coreiwsm-pc-cygwin
checking host system type... coreiwsm-pc-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)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -pedantic -fomit-frame-pointer -m64 ... no
checking whether cc is gcc... yes
checking compiler cc -O2 -pedantic -fomit-frame-pointer -m64 ... no
checking ABI=x32
checking compiler gcc -O2 -pedantic -fomit-frame-pointer -mx32 ... no
checking whether cc is gcc... yes
checking compiler cc -O2 -pedantic -fomit-frame-pointer -mx32 ... no
checking ABI=32
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no, cmov
instruction
checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no
checking compiler icc -no-gcc ... no
checking whether cc is gcc... yes
checking compiler cc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler cc -O2 -pedantic -fomit-frame-pointer ... no
configure: error: could not find a working compiler, see config.log for
details

I have gcc 4.9.3 on my cygwin and it works fine. I tried building and
running a hello world program successfully.

Thanks and Regards,
Hari


More information about the gmp-bugs mailing list