delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/11/10:10:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <31125827.post@talk.nabble.com>
Date: Fri, 11 Mar 2011 07:09:38 -0800 (PST)
From: Mengsk <tmp1 AT rcmd DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Compiled program does nothing when executing it under Cygwin
In-Reply-To: <31125708.post@talk.nabble.com>
MIME-Version: 1.0
References: <31125708 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hello again,

I solved the problem already, sorry for the noise. Describing a problem to
others often helps yourself if you do it properly I guess. ;)


Mengsk wrote:
> 
> I've been using Cygwin for a few weeks to develop C programs under Windows
> XP. Since yesterday evening, various programs don't do anything anymore
> under Cygwin when I execute them though. The last thing I remember doing
> was installing rsync into Cygwin, other packages were upgraded as well
> during that operation I think.
> 

When checking for the 'cygwin1.dll' file in C:\cygwin\bin, I discovered that
there also was a file named 'cygwin1.dll.new' in there. I made a backup of
my cygwin1.dll, deleted it and renamed the 'cygwin1.dll.new' file to
'cygwin1.dll'. Then I recompiled my program and now everything works fine.

I have no idea what changed/renamed the files in the first place though...

Greetings,

spirit

-- 
View this message in context: http://old.nabble.com/Compiled-program-does-nothing-when-executing-it-under-Cygwin-tp31125708p31125827.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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