Re: Problems with "Hello, World!"

2019-03-25 Thread Vesa P.
On Sat, 23 Mar 2019 at 10:33, Houder wrote: > Compiled "hello.c" on my 32-bits setup of Cygwin ... > > @@ gcc -Wall -o hello-32 hello.c # prompt indicates 32-bits setup of Cygwin > > Ran it on my 64-bits setup of Cygwin ... > > 64-@@ ./hello-32 # prompt indicates 64-bits setup of Cygwin > > I got

Re: Problems with "Hello, World!"

2019-03-23 Thread Houder
On Sat, 23 Mar 2019 09:33:10, Houder wrote: > On Sat, 23 Mar 2019 09:16:53, Houder wrote: > > > 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 updat

Re: Problems with "Hello, World!"

2019-03-23 Thread Houder
On Sat, 23 Mar 2019 09:16:53, Houder wrote: > 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 compile

Re: Problems with "Hello, World!"

2019-03-23 Thread Houder
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 > > > >

Re: Problems with "Hello, World!"

2019-03-22 Thread Achim Gratz
Vesa P. writes: > --- Process 10312 thread 24044 created > --- Process 10312 loaded C:\Users\XX\cygwin64\bin\cygwin1.dll at > 00ae > --- Process 10312 unloaded DLL at 00ae > --- Process 10312 thread 24044 exited with status 0x0 > --- Process 10312 exited with status 0xc

Re: Problems with "Hello, World!"

2019-03-22 Thread Vesa P.
Thanks Thomas Wolff, L A Walsh and Brian Inglis for your responses. I am trying to cover the most important parts in this one message to prevent the email chain from branching. On 2019-03-20 L A Walsh wrote: > Have you tried running with 'strace' to see what calls it executes?: > > strace -f

Re: Problems with "Hello, World!"

2019-03-19 Thread Brian Inglis
On 2019-03-19 15:31, Vesa P. wrote: > Hi all, > > Cygwin works great for me in providing POSIX tools for Windows, but > when I tried to to compile something of my own, I immediately ran into > problems. > > Compiling my Hello World application didn't complain but when running > it I didn't get an

Re: Problems with "Hello, World!"

2019-03-19 Thread L A Walsh
On 3/19/2019 2:31 PM, Vesa P. wrote: > > Compiling my Hello World application didn't complain but when running > it I didn't get any output. My compilation command was like this: >gcc -Wextra -Wall -o hello hello.c > And my source code is below between "---" markers: > -

Re: Problems with "Hello, World!"

2019-03-19 Thread Thomas Wolff
Am 19.03.2019 um 22:31 schrieb Vesa P.: Hi all, Cygwin works great for me in providing POSIX tools for Windows, but when I tried to to compile something of my own, I immediately ran into problems. Compiling my Hello World application didn't complain but when running it I didn't get any output.

Problems with "Hello, World!"

2019-03-19 Thread Vesa P.
Hi all, Cygwin works great for me in providing POSIX tools for Windows, but when I tried to to compile something of my own, I immediately ran into problems. Compiling my Hello World application didn't complain but when running it I didn't get any output. My compilation command was like this: g