X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AFCA27F.6070309@gmail.com>
Date: Fri, 13 Nov 2009 00:04:15 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: [OT] Re: No output on stdout
References: <690f5ac90911121201m6def763eg18f6eed95edb9588@mail.gmail.com> 	 <20091112215138.GA22412@ednor.casa.cgf.cx> 	 <690f5ac90911121354v45bc0f90rd10eeba842b866ba@mail.gmail.com> <690f5ac90911121521o508c1222m831b22b6a087b620@mail.gmail.com>
In-Reply-To: <690f5ac90911121521o508c1222m831b22b6a087b620@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Federico Hernandez wrote:
>>> Sounds like you may be missing dll.  cygcheck yourprogram.exe might help.
>> Thank you. We will do this.
>>
>> A gdb run provided some exit code which google and the mailing list
>> archive suggested to be some dll problem. Now I know how to find out.
> 
> Problem solved. We have discovered the missing lib.
> 
> Thx for pointing out cygcheck <appname>.

  Also, you can check exit status from the shell by running "echo $?" after
the command, which is a bit less trouble than using the debugger.  The "$?"
shell variable gets set to the status of the last command executed.  (This is
generic shell stuff, not cygwin-specific.)

    cheers,
      DaveK


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

