delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/08/12:18: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: <3FFD90C9.1070506@fuxoft.cz>
Date: Thu, 08 Jan 2004 18:18:01 +0100
From: Frantisek Fuka <fuka AT fuxoft DOT cz>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Crash when compiling Sitecopy
References: <3FFD2A1A DOT 1000408 AT fuxoft DOT cz> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040108101132 DOT 040c9280 AT 127 DOT 0 DOT 0 DOT 1> <3FFD76F7 DOT 8050001 AT fuxoft DOT cz> <Pine DOT GSO DOT 4 DOT 56 DOT 0401081058280 DOT 8635 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.56.0401081058280.8635@slinky.cs.nyu.edu>
X-IsSubscribed: yes

Igor Pechtchanski wrote:
> On Thu, 8 Jan 2004, Frantisek Fuka wrote:
> 
> 
>>[snip]
>>Thank you all for the help. The problem was that I kept the old
>>cygwin1.dll because I needed it to run the old sitecopy version.
> 
> 
> FWIW, there should be no need to do this.  Newer versions of cygwin1.dll
> should let older applications run just fine.  If this is not the case,
> it's a bug and should be reported.

I investigated it further and found out the following:

I had OLD cygwin1.dll in c:\windows\system\ directory. This is probably 
something I did a long time ago so that I could run the old sitecopy.exe 
form the standard Windows .BAT script (without using bash or any other 
cygwin component).

If I understand it correctly, the actual cygwin1.dll should always be in 
c:\cygwin\bin, where it is. Strange thing is, when I tried do compile 
the new sitecopy, the compiler crashed (see previous messages) beacuse 
of the old DLL in the \SYSTEM directory. When I deleted this DLL 
(without doing anything else), the compilation finished without 
problems. I have no idea why was cygwin looking into \SYSTEM dir, if the 
needed DLL should be (and was present) in \bin.

So, now I have the latest cygwin but I can no longer run it from a 
standard Windows BAT file because it doesn't "see" cygwin1.dll file (and 
other DLL files it needs). How to solve this cleanly? Copy the DLLs to 
\SYSTEM directory? Or is it enough to change the current directory to 
"c:\cygwin\bin" before running sitecopy.exe?

Thanks

-- 
                                          Frantisek Fuka
(yes, that IS my real name)
(and it's pronounced "Fran-tjee-shek Foo-kah")
----------------------------------------------------
My E-mail:   fuka AT fuxoft DOT cz
My Homepage: http://www.fuxoft.cz
My ICQ:      2745855

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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