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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=jhm3v/kT+0UAWUFO 1/xPiZe9dNXs65szXsrLHbYiVV9WfDm98i0NNC+dw5OkSxS5ZJ3uISD2NfwfC2JG h5+Ei66TK0ldKhrYcXJwuf3qbT1XihrpIYENHePaaY31U3a+ABRHg6zMJ14nlcj4 6F1NfOJ72VHunHDhAz0SOL56F84= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=qTFqL6ioU1HKjYLRcUbm7X b0kos=; b=kmTHMpyJgKgZInxehlC4vCk32ZUMs2sa6vBdZdldtPDpRPr4fx+QLX 3HA4oI28mOQ37DLzyG6l+XIkBSy1uZQJvzPWAv0As0zoVK18gub5bQwgFPowAYbV BSJOsFnTKMiO1OoVR6/16/3riip4H4oFyp6ZyEOOPSMIb1Ezdi7tY= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: mail-io0-f179.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Sa779zEby7A99irA3D6YUloiqzEvJOT60Q4DsOP/f6U=; b=FHWmAGLTAvbhcRgoKZBCSVX2p3rU8vgIjv5hjKkW3Xe6U3l8l2hKmRrpNzYMjw0Iso zYvc5nkabL54VisuZW+a5xyz1jxVIYcrV2mRwYJ7uS1fyarIP/C375BWMwSeLTPTmyU/ 20fpYIszp5/8CRbgL7EdM+QKx7ZlzhF58E2cp+ao5Dw3S91LPctESV4IdUR0fVvNNdW9 hKAN9b6PILyyQfS+IGHxeUv3ZY4gPe9J3jPwhug+ePLMc/hkFext6HmEGjBjdpXKP6oJ MdL+k+VTwikBBrRf4ZtXQFcZNmkjAJ61IXgevC+RRnRGKYAQ7poCSrckP1Rn31Tx7csN khyA== X-Gm-Message-State: AKS2vOwoklNUDQfGSq3JGbHhbtABavtDDVXfn43xHKItgfeRb0Fj5+vo WNLXAkurt7jsg1My X-Received: by 10.107.169.218 with SMTP id f87mr515310ioj.185.1498486597052; Mon, 26 Jun 2017 07:16:37 -0700 (PDT) Subject: Re: Compiled programs fail to run from Cygwin Terminal, but work from windows cmd To: cygwin AT cygwin DOT com References: <4eae81da-6519-b071-7146-b7396b547d34 AT gmail DOT com> From: cyg Simple Message-ID: <83b613d9-03ec-64e4-2e4c-32f312ce73a2@gmail.com> Date: Mon, 26 Jun 2017 10:16:32 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 6/22/2017 11:57 AM, Wouter van Doorn wrote: >> >> Is your prompt overwriting the output of the program? >> >> Try: >> >> $ hello | cat >> $ hello | grep ello >> >> etc. > > On 22 June 2017 at 14:57, cyg Simple wrote: > Nice thought, but no, that's not it. The standard utilities behave > normally, only the things I compile myself stay schtumm. > I've not seen you explain your compile and link process; assuming is a bad idea. I've not seen any attachments as per the problems link in every email in this thread. What is the output of uname -a, gcc -v and ld -v? -- 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