delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/03/21:19:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.1.0.14.0.20020104120321.00a03600@mail.chariot.net.au>
X-Sender: mcf AT mail DOT chariot DOT net DOT au
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 04 Jan 2002 12:14:12 +1030
To: cygwin AT cygwin DOT com
From: Mike Fahlbusch <mcf AT cobweb DOT com DOT au>
Subject: Re: Nothing compiles (revisited)
In-Reply-To: <20010617113632.B3654@redhat.com>
References: <3B2CCC61 DOT F7D84397 AT mapcontext DOT com>
<3B2CC677 DOT C4A3406 AT mapcontext DOT com>
<20010617110619 DOT B3513 AT redhat DOT com>
<3B2CCC61 DOT F7D84397 AT mapcontext DOT com>
Mime-Version: 1.0

At 11:36 AM 6/17/01 -0400, you wrote:

I hope I'm not stating the obvious here but this problem can also occur 
with g++ (of course it says g++ instead of gcc in the error message):

>checking whether the C compiler (gcc  ) works... no
>configure: error: installation or configuration problem: C compiler
>cannot create executables.

>On Sun, Jun 17, 2001 at 11:27:29AM -0400, Doug Nebert wrote:
> >
> >Christopher Faylor wrote:
> >
> >> On Sun, Jun 17, 2001 at 11:02:15AM -0400, Doug Nebert wrote:
> >>
> >> To translate:
> >>
> >> % gcc -c foo.c
> >> gcc: You have an old version of cygwin1.dll somewhere on your 
> system.  It's probably in your windows/system directory.  Please don't do 
> that.  Delete this file and everything will work..
> >> *** exit code 1
> >
> >That did it. Guess it was an incomplete de-install ages ago...
> >Thanks.
>
>I don't believe that Cygwin installation ever put cygwin1.dll in the
>windows system directory.

Attempting to compile hello.cpp gives an error about libstdc++.a.
I have cygwin installed in drive D:\prog\cygwin ( /cygdrive/D/prog/cygwin ) 
(I don't know nothin' 'bout no steenkin' mount points). cygwin1.dll is 
never put in C:/windows/system, it lives in D:\prog\cygwin\bin.  Somehow I 
still ended up with an old version of cygwin1.dll after doing a fresh 
install and one update from ftp.  The strange thing is that gcc worked fine 
when used with configure, g++ didn't.  Uninstalling cygwin base and gcc, 
g++, fortran using setup.exe and re-installing them fixed the problem.




--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019