delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/09/23:51:44

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <001a01c1e042$e477bbc0$4da7efd8@wins.bpa.gov>
Reply-To: "Dennis McNulty" <dennis AT giantfir DOT com>
From: "Dennis McNulty" <dennis AT giantfir DOT com>
To: "Pavel Tsekov" <cygwin AT cygwin DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <002601c1df82$5fb62680$7fa7efd8 AT wins DOT bpa DOT gov> <11924488642 DOT 20020409165439 AT syntrex DOT com>
Subject: Re: gcc linker not producing executable
Date: Tue, 9 Apr 2002 20:50:40 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

Pavel  -

It turned out that I did have two copies of cygwin1.dll, both in the cygwin
directory area.  I had an older version (1.3.2) in my /home/my_name
directory, which was also where I had the .c files I was trying to compile
and link.  Removing that one now causes the more recent one in /bin to be
invoked, and gcc linking works again.   g++ linking had worked because the
.cpp files were in a different directory that didn't have its own copy of
the dll.

From reading earlier threads, I was inspired to remove only a duplicate .dll
from the windows/system directory.  I never thought to look for duplicates
in the cygwin area.  Thanks muchly for the tip.

-  Dennis McNulty
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

----- Original Message -----
From: "Pavel Tsekov" <ptsekov AT syntrex DOT com>
To: "Dennis McNulty" <dennis AT giantfir DOT com>
Cc: <cygwin AT cygwin DOT com>
Sent: Tuesday, April 09, 2002 7:54 AM
Subject: Re: gcc linker not producing executable


> Hello Dennis,
>
> Tuesday, April 09, 2002, 6:52:37 AM, you wrote:
>
> DM> messages at all.  In fact, if I ask to use gcc to link, it will even
delete
> DM> the -o file if it already exists.  I'm forced into using gcc to
compile
> DM> only, then ld to link.
>
> DM> Any ideas about what could be causing this?
>
> Just a quick guess ? Do you have two (maybe more) copies of
> cygwin1.dll on your system ? If you dont know try searching the output
> of 'cygcheck -r -s -v'.
>
>


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