delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/06/26/14:51:56

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=PZMrtig
YULIQNZGkDvj6oSpuoEHy1arHRC2OHWe1s3DKDJbSNAi0XnzeleTQtIeu9Ax6rPw
rRAZrdlr3GW90kszQaz1DvLSVrJUXXaCyqdH89aIHiP16D1TaxMSGIf+wDG9Z/BM
+lAVUwZ92FX3+wKkmjgTGii1SfJy/c25RqzE=
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=ZcacP2SKxKYN1
eiy7Yat/37mYsQ=; b=JsVzRRdHfrzTr4uJZf0UpJiUgshNUw0TxAb9P9++ZLjsL
k/5lH8L6c6pz1biOiwg6U5Uc+5eY8248UTi0JcHTSivuJfJ0IFTPKsQbVYNZUZoa
7Zxmg/cKUAXiADbVaeGCsQZ+4q/ugviuwOlFdatvezYmn6j/3IPlzyICL055hM=
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.3 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=
X-HELO: mail-io0-f171.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=tuvrFflPAyOSslDKYE+0eWnBoTT3R8w+1FZ8Zr0ZxnI=; b=oyOqxzsgy3s6oLY6dnKvSC3HGsJHeAx5R6hoHsXFA8JXfkKmaJgH6oJ4QG6IiZljtM 7M+cc2lKu5hd7F/X/ktq/pTayYYipOMjkgdPcBJnZF0Eu6m7DeWpwZaRu5gdQ5PJa2fK KxLYVEyeoYJpvHVVf+mpENp5+Y3bAd2pDpyw5z+KlL+7xSfZ9vGnX85RiqE1sL30o7vh +YHirFX3FnMz0gTdHHYCk8fO6DPYq2JGiSTcIU6Ayd55YyVwGGGFxVXUThdEu0sP+Tcr oXIUu8W3TLER4dgPVopsuWNnBXLCC8zTQlutnGhQnRbLbKKS+4BAxBElhkSV4oWk6vaP 9qcw==
X-Gm-Message-State: AKS2vOzkW34ktB94U3hq89HFrbfBsxYZ6onV7mIzjBrSluu5pygD49NH 3aclNgbtGUuzYUhv4TxmSl1CEiMv7In+
X-Received: by 10.107.132.86 with SMTP id g83mr2194320iod.209.1498503097819; Mon, 26 Jun 2017 11:51:37 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <83b613d9-03ec-64e4-2e4c-32f312ce73a2@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> <CANZ2p_c7k5w766knwM0BVhsxu7rZvKdTKwT+3DZ-H2ZtXH0q0Q AT mail DOT gmail DOT com> <83b613d9-03ec-64e4-2e4c-32f312ce73a2 AT gmail DOT com>
From: Wouter van Doorn <wouter AT vandoorn DOT tv>
Date: Mon, 26 Jun 2017 19:51:17 +0100
Message-ID: <CANZ2p_d3DwCPLzsDeZZamWWNPMOLk1yANvZJjD_N2nB8spc6WA@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

Hello again!

Thanks for your continued support.

Answers to your questions will follow, but I do need to say first that
there has been progress, and although the wy of getting there was
extremely vague, things now do work properly. I'll say more in a
general reply later. So the urgency is gone, but I still fail to
understand what happened. I can live with that, though not gladly.

Anyway.

Compiling/linking is done in the most elementary way, via make with no
makefile (so make hello from the source hello.c). Furthermore:

$ uname -a
CYGWIN_NT-6.1-WOW User-PC 2.8.0(0.309/5/3) 2017-04-01 20:42 i686 Cygwin

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/5.4.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with:
/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.i686/src/gcc-5.4.0/configure
--srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.i686/src/gcc-5.4.0
--prefix=/usr --exec-prefix=/usr --localstatedir=/var
--sysconfdir=/etc --docdir=/usr/share/doc/gcc
--htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin
--host=i686-pc-cygwin --target=i686-pc-cygwin
--without-libiconv-prefix --without-libintl-prefix
--libexecdir=/usr/lib --enable-shared --enable-shared-libgcc
--enable-static --enable-version-specific-runtime-libs
--enable-bootstrap --enable-__cxa_atexit --with-dwarf2
--with-arch=i686 --with-tune=generic --disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++
--enable-graphite --enable-threads=posix --enable-libatomic
--enable-libcilkrts --enable-libgomp --enable-libitm
--enable-libquadmath --enable-libquadmath-support --enable-libssp
--enable-libada --enable-libjava --enable-libgcj-sublibs
--disable-java-awt --disable-symvers
--with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as
--with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix
--without-libintl-prefix --with-system-zlib --enable-linker-build-id
--with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.4.0 (GCC)

$ ld -v
GNU ld (GNU Binutils) 2.25.2

I am unclear about the attachments you mention - I don't know what was
expected. But the urgency is gone, even if the mystery is not.

Kind regards,
Wouter

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