Click here to Skip to main content
16,020,714 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have installed Cygwin on my system and tried to install one module called GMP libs using my cygwin. So while installing using cygwin I got the following error message:

$ ./configure
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 a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
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 details

So after that I downloaded the gcc-2.7.2.3/ module
and tried to configure that using ./configure command but it seems it requires some parameter to be passed with the command like ./configure --host=* something.

So can you please tell me which command I need to run for that or suggest to me the configuration steps. I want to install in my local system such that I can install the GMP module and other stuff.
Posted
Updated 8-Dec-10 0:17am
v2

so while installing Cygwin , u can include the packages which you want , at that time i used default options so GCC was not there in that package .
while installing cygwin , don't forget to include the gcc compiler package. :) :)
 
Share this answer
 
Try How to Install GCC 4.3.0[^]. It worked for me back when I used Windows as a primary development platform.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900