X-Recipient: archive-cygwin AT delorie DOT 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 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: [OT] Re: No output on stdout References: <690f5ac90911121201m6def763eg18f6eed95edb9588 AT mail DOT gmail DOT com> <20091112215138 DOT GA22412 AT ednor DOT casa DOT cgf DOT cx> <690f5ac90911121354v45bc0f90rd10eeba842b866ba AT mail DOT gmail DOT com> <690f5ac90911121521o508c1222m831b22b6a087b620 AT mail DOT gmail DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 . 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