[OT] Re: No output on stdout

Dave Korn dave.korn.cygwin@googlemail.com
Thu Nov 12 23:55:00 GMT 2009


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



More information about the Cygwin mailing list