Re: problem Compiling hello world C Program.

2003-08-14 Thread Jag
--- From: "Rolf Campbell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 13, 2003 6:32 PM Subject: Re: problem Compiling hello world C Program. > Well, to start, that's not a valid C-program. > To end, http://www.cygwin.com/problems.html > > Ja

Re: problem Compiling hello world C Program.

2003-08-14 Thread Rolf Campbell
Well, to start, that's not a valid C-program. To end, http://www.cygwin.com/problems.html Jag wrote: Hi, I have downloaded cygwin onto one of my pcs, but when i try to compile a simple program, I get loads of errors hello.c is #include #include #include printf("Hello World\n"); exit 0; when i

Re: problem Compiling hello world C Program.

2003-08-14 Thread Igor Pechtchanski
On Wed, 13 Aug 2003, Jag wrote: > I know its not a valid program. > It was a typo and I didn't check it when cutting and pasting the test. That's what I assumed. > Like Igor said, the 'Looks like your gcc installation is corrupted'. I have > copied the 3.2 folder from another PC and all now work

problem Compiling hello world C Program.

2003-08-14 Thread Jag
Hi, I have downloaded cygwin onto one of my pcs, but when i try to compile a simple program, I get loads of errors hello.c is #include #include #include printf("Hello World\n"); exit 0; when i do gcc -c hello.c, i get the following output In file included from hello.c:1: /usr/include/stdio

Re: problem Compiling hello world C Program.

2003-08-14 Thread Igor Pechtchanski
On Wed, 13 Aug 2003, Jag wrote: > Hi, > > I have downloaded cygwin onto one of my pcs, but when i try to compile a > simple program, I get loads of errors > > hello.c is > > #include > #include > #include > > printf("Hello World\n"); > exit 0; > > when i do > gcc -c hello.c, i get the following

RE: problem Compiling hello world C Program.

2003-08-14 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Igor Pechtchanski > On Wed, 13 Aug 2003, Jag wrote: I assume you MEANT this... > > hello.c is > > > > #include // These are not needed for hello-world ... > > #include > > #include > > int main() { > > printf("Hello Worl