Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <B02A71179D71D511ADAD0008C7E9A6501D3F@mail.bellgeo.com>
From: David Humphrey <dhumphrey@bellgeo.com>
To: "'Joan M Friedman'" <joan.friedman@ericsson.com>,
        Charles Wilson
	 <cwilson@ece.gatech.edu>
Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: RE: configure: error: installation or configuration problem: C co
	mpiler   cannot create executables
Date: Tue, 11 Sep 2001 18:39:19 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"

Funny thing that this one would come up on the list today.  I ran into
exactly the same problem while trying to compile libwmf.  It turned out that
configure was trying to use CC for the compiler, i.e., an undefined
environment variable.  I set CC=gcc and it worked fine.

Regards,
David L. Humphrey
Director, Technical Services
Bell Geospace, Inc

> -----Original Message-----
> From: Joan M Friedman [mailto:joan.friedman@ericsson.com]
> Sent: Tuesday, September 11, 2001 2:28 PM
> To: Charles Wilson
> Cc: 'cygwin@cygwin.com'
> Subject: Re: configure: error: installation or configuration 
> problem: C
> compiler cannot create executables
> 
> 
> This turned out to be a path problem. configure worked after I removed
> everything from 
> my windows-environment path that seemed unnecessary. I suspect the
> culprit was an 
> environment variable called LIBS.
> 
> Charles Wilson wrote:
> > 
> > Check for case-sensitivity problems.  IIRC, expat had some 
> files in it
> > that differ only in case; this breaks badly on windows.
> > 
> > --chuck
> > 
> > Joan M Friedman wrote:
> > 
> > > I've been searching the lists for a solution to this 
> problem - I can
> > > find the problem posted, but not
> > > the solution.
> > >
> > > While trying to run configure for expat in cygwin, the 
> gcc compiler
> > > check fails. I removed
> > > my previous cygwin installation (including removing all cygwin and
> > > cygnus registry keys and searching
> > > the file system for 'cyg'), emptied the recycle bin, 
> restarted, and did
> > > a full clean install of the latest cygwin,
> > > but it still happens.  I have the results of configure, 
> gcc -v, and
> > > cygcheck -s -r -v below.
> > >
> > 
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

