Click here to Skip to main content
11,920,211 members (44,861 online)
Rate this:
Please Sign up or sign in to vote.
See more: Windows compiler Cygwin
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 8-Dec-10 0:52am
Edited 8-Dec-10 1: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. Smile | :) Smile | :)

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

  Print Answers RSS
0 OriginalGriff 455
1 phil.o 170
2 CPallini 150
4 F-ES Sitecore 130
0 OriginalGriff 6,778
1 KrunalRohit 4,495
2 Sergey Alexandrovich Kryukov 3,153
3 George Jonsson 2,810
4 Suvendu Shekhar Giri 2,181

Advertise | Privacy | Mobile
Web04 | 2.8.151120.1 | Last Updated 16 Feb 2011
Copyright © CodeProject, 1999-2015
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