From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6467 invoked by alias); 23 Mar 2019 08:17:01 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6435 invoked by uid 89); 23 Mar 2019 08:17:00 -0000 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 Received: from lb3-smtp-cloud8.xs4all.net (HELO lb3-smtp-cloud8.xs4all.net) (194.109.24.29) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 23 Mar 2019 08:16:58 +0000 Received: from tmp.XZgo5vG8be ([83.162.234.136]) by smtp-cloud8.xs4all.net with ESMTPSA id 7bpjhmP0vUjKf7bpkhd0Sq; Sat, 23 Mar 2019 09:16:53 +0100 Date: Sat, 23 Mar 2019 08:17:00 -0000 Message-ID: <534338decdf116e0ba1aa68fc43de163@smtp-cloud8.xs4all.net> From: Houder Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com Subject: Re: Problems with "Hello, World!" References: <7d551593-3481-6207-880d-7bf567081ff8@SystematicSw.ab.ca> In-Reply-to: Content-Type: text/plain; charset=UTF-8; format=fixed User-Agent: mua.awk 0.99 X-SW-Source: 2019-03/txt/msg00552.txt.bz2 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