Click here to Skip to main content
13,049,814 members (74,453 online)
Rate this:
Please Sign up or sign in to vote.
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- 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 7-Dec-10 23:52pm
Updated 8-Dec-10 0:17am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try How to Install GCC 4.3.0[^]. It worked for me back when I used Windows as a primary development platform.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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. :) :)

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 16 Feb 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100