delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/06/22/11:57:57

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=oxmJ7di
GfuTkG9OvTZFvHK+9h6DPnbR6za+L/bOzLmkFlWtPoj60+NuZ9H2j98dsXbRDb1u
umA5ijCz/rnQyfIgzNx2cpcRz7Q1t6zI7I9hba9vhX1HeZYQckrPqX6kOjvk2e1J
rcnxpFBt612XAm9Khc2A59ZqxkNm2a4r4Two=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=4EjWet5MjU3oD
omiK7jH0HeQPW4=; b=Vg1AqQEBCoTKIt93sEHvVNgQvl/9XFNgq6BdRLFOIrkEp
hbP5H8WJPUC9Y8CRTuSGq1b+CfrNNMTzXGvQiwWRhhEPsnHuUB2tc6L9Plin4dNA
9t8nM9NKt++33fDEqu4trjKJRCkS4NmrLHNrGeMEByg+5urwhuu/6NQaWx0e2c=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=online
X-HELO: mail-it0-f49.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=5tk5z8kgZhZt3d0CjyQ3qi5djzjDusQiqXzSNUj/d8g=; b=bzitreHQ/kYHoHiPQfCDwwLVoByGgPCeneJVGf7yTJKr4fD9M67IW0HmwQFpC2QSHZ tyvGxIwXnx2dHjYq9iI7zfKTbpKLae7+SXiV7TgxxKuGTdyeOxfvu1wJ3/ykBufZaNHr QrBdGXQY+ZSnYjlZgf8g5qwPzL8ROVPk5c9iifxtHNRlvk/cr/i8srGJKGmub4Fa0NFQ NigK0dKfl6yI/xNkSqnhy2GyOYzXPNfWlYGwNzO9LJDETgutjbOOH9JXWPBXGXG0QI47 pGH3Cq6K8T5Tuii3ewwaoJkPB8pZZr/c6/C2yVwtZa5iE2xYjqnY2x5ht5I+jHEdWl4d f1eA==
X-Gm-Message-State: AKS2vOwmnTHtot845vgFq3m21iBd3rv6X5WOfp/XJ/MGkbESz4jlNXtU 4OJi9NiwsyfYdHdXJDCSc+eQQ+nIYQ==
X-Received: by 10.36.219.132 with SMTP id c126mr2778758itg.73.1498147059182; Thu, 22 Jun 2017 08:57:39 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <4eae81da-6519-b071-7146-b7396b547d34@gmail.com>
References: <CANZ2p_ckjzWEp0uPoJ8MAXh=0B6ZhWQVt9v_NmsFP-fpoX-sEg AT mail DOT gmail DOT com> <oiepk2$78o$1 AT blaine DOT gmane DOT org> <CANZ2p_cpjbjvZfOgSKAmsCT92QHC1i-yPc2BosJgL6u4LCdypQ AT mail DOT gmail DOT com> <4eae81da-6519-b071-7146-b7396b547d34 AT gmail DOT com>
From: Wouter van Doorn <wouter AT vandoorn DOT tv>
Date: Thu, 22 Jun 2017 16:57:18 +0100
Message-ID: <CANZ2p_c7k5w766knwM0BVhsxu7rZvKdTKwT+3DZ-H2ZtXH0q0Q@mail.gmail.com>
Subject: Re: Compiled programs fail to run from Cygwin Terminal, but work from windows cmd
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Nice thought, but no, that's not it. The standard utilities behave
normally, only the things I compile myself stay schtumm.

On 22 June 2017 at 14:57, cyg Simple <cygsimple AT gmail DOT com> wrote:
>>
>> STOP PRESS: in gdb, the output IS there:
>> User-PC-> gdb hello.exe
>> GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1
>> Copyright (C) 2015 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>> and "show warranty" for details.
>> This GDB was configured as "i686-pc-cygwin".
>> Type "show configuration" for configuration details.
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>.
>> Find the GDB manual and other documentation resources online at:
>> <http://www.gnu.org/software/gdb/documentation/>.
>> For help, type "help".
>> Type "apropos word" to search for commands related to "word"...
>> Reading symbols from hello.exe...done.
>> (gdb) run
>> Starting program: /home/User/c_dir/hello.exe
>> [New Thread 6868.0x5b0]
>> [New Thread 6868.0x18dc]
>> [New Thread 6868.0x1990]
>> Hello, world!
>> [Thread 6868.0x1990 exited with code 0]
>> [Inferior 1 (process 6868) exited normally]
>> (gdb)
>>
>> Which is dandy, but then why, outside of gdb, is there nothing at all?
>> Still stumped!
>
> Is your prompt overwriting the output of the program?
>
> Try:
>
> $ hello | cat
> $ hello | grep ello
>
> etc.
>
> --
> cyg Simple
>
> --
> 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
>

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