Compiling GMP on Windows

lavesh dixit lavesh.dixit at
Mon Jul 12 12:28:40 CEST 2010

Hi All,
I am having issues compiling GMP on Windows.
The environment details are as follows.

GMP 4.3.2
OS - MS Windows 2003 Server x64 SP2
Using Cygwin to do the compilation.
On running configure, it is not able to find any compiler (gcc, cc )

Here is the output
$ ./configure --prefix /cygdrive/d/gmp
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... 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: could not find a working compiler, see config.log for 

We want to use MS VS 2008 to do the compilation of GMP for binary 
compatibility reasons.
All all other C/C++ code has been built using MS VS 2008.

What can we do to use MS VS compiler to do the compilation.
config.log is attached.

Thanks for the help
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.log
URL: <>

More information about the gmp-discuss mailing list