delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/23/04:17:13

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:date:message-id:from:reply-to:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=ik4SHa
1MNp7LAy2MljjNqO85aCxaosITXE1XU63/gFQA2/b3Sl0LVQWvdeKMyQlt1ILZ59
KU1euu337LhMezwYQMNSUhlVD3aNLXqKQLuZ8f/MMkNgT8J4UAl5QtEbM8Uvdtc4
OvriGJBCWlYh8f3moJ0HG6K7ry6myLbWHfC3k=
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:date:message-id:from:reply-to:to:subject
:references:in-reply-to:content-type; s=default; bh=U3LQACAuY3Fm
ltTXjWrQDF1kwOo=; b=p8WtIgzaMHH02NlapQYW7s7piE2iKUTqnrXlhap9qF94
vhTb9nZHvl+ZT3VJdQhTOs1nOEcBDbLfQLzuLRq3wIEOmyLqSPwmBy40N4R4JAU9
OV2U+BpW4ocGMTFhyP857Dv6BSCMpc3J0wBqvjpywsj1KOGkuc/TTt5wLQPMkMw=
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-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=seven, Seven, 7401, D*@
X-HELO: lb3-smtp-cloud8.xs4all.net
Date: Sat, 23 Mar 2019 09:16:53 +0100
Message-ID: <534338decdf116e0ba1aa68fc43de163@smtp-cloud8.xs4all.net>
From: Houder <houder AT xs4all DOT nl>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Problems with "Hello, World!"
References: <CAF0NPdi=FBVvQD4BNV9ThXcB1CoF31AZeKVKR27X4PeJq43U6w AT mail DOT gmail DOT com> <7d551593-3481-6207-880d-7bf567081ff8 AT SystematicSw DOT ab DOT ca> <CAF0NPdiG0hTHs=+CF+RjEts+zom33yQf5iT59THCgSeGjpC_dg AT mail DOT gmail DOT com>
In-Reply-to: <CAF0NPdiG0hTHs=+CF+RjEts+zom33yQf5iT59THCgSeGjpC_dg@mail.gmail.com>
User-Agent: mua.awk 0.99

On Fri, 22 Mar 2019 16:25:08, Vesa P dot "  wrote:

> > Rather than describing what you did, copy and paste a shell transcript showing
> > the commands and output from you listing the source code, compiling and running
> > it, a long listing of the directory contents, then run
> >
> >         "cygcheck -hrsv > cygcheck.out"
> >
> > and attach the output as a text file to a post to this list, as explained below
> > under Problem reports: http://cygwin.com/problems.html.
> 
> I included a modified version of cygcheck.out. Mostly sensitive letter
> sequences have been
> replaced by 6 X's: "XXXXXX".  And user groups in was all replaced by
> "/// User group names and numbers omitted ///"

Vesa,

From your previous post it was clear that your program did not execute. You
compiled your "hello.c" as follows:

    gcc -Wextra -Wall -o hello hello.c

You are using the 64-bits setup of Cygwin. Me too (although I have W7).

64-@@ uname -a
CYGWIN_NT-6.1 Seven 3.0.4(0.338/5/3) 2019-03-16 09:50 x86_64 Cygwin

 ** Me **
64-@@ grep gcc cygcheck-20190323.out
Found: E:\Cygwin64\bin\gcc.exe
   70k 2018/12/09 E:\Cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2018-12-08 19:56
gcc-core                                7.4.0-1               OK
libgcc1                                 7.4.0-1               OK
(I deleted non-relevant output)

 ** Vesa **
64-@@ grep gcc cygcheck-vesa.out
Found: C:\Users\XXXXXX\cygwin64\bin\gcc.exe <==== What is this? (is this
  the compiler for the 32-bits setup of Cygwin?)
   70k 2018/06/26 C:\Users\XXXXXX\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2018-06-26 17:17
cygwin32-gcc-core         6.4.0-1             OK <==== generating code for
  the 32-bits setup of Cygwin ????? (I have forgotten)
cygwin32-gcc-g++          6.4.0-1             OK
libgcc1                   7.3.0-3             OK
-----

Q: where is your compiler (gcc)? Evidently you are not using the compiler
from the 64-bits setup ...

Btw, you are using an old version of Cygwin (cygwin1.dll) ... Why do you
not update (while also installing the 64-bits version of the compiler).

I may be wrong though (as I only skimmed your posts and the cygcheck.out
file).

Henri


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