From: "cybermik AT netactive DOT co DOT za" Newsgroups: comp.os.msdos.djgpp Subject: Please Help Date: Thu, 9 Apr 1998 03:07:25 +0200 Organization: Netactive ISP Lines: 30 Message-ID: <892202654.754158@proxy.netactive.co.za> NNTP-Posting-Host: proxy.netactive.co.za Cache-Post-Path: proxy.netactive.co.za!unknown AT jhb247 DOT netactive DOT co DOT za To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I am learning C programming from a book. I donwloaded DJGPP along with RHIDE to compile the programs on. The first program in the book is very simple. Here is the source : 1: /*02L01.c : This is my first C program. */ 2: #include 3: 4: main () 5: { 6: printf ("Howdy, neighbor! This is my first C program. \n"); 7: return 0; 8: } When I compile it using RHIDE, I get error messages. I have tried removing the #include section. The program then compiled, but when I run it, it says something like "ld -lgcc file in wrong format". Sometimes I also get "Unable to include include file 'stdio.h'. If somebody can please compile this and try to figure out what I am doing wrong, it will be greatly appreciated. The book says that all the programs conform to the ANSI standard, so I don't think that is the problem... Thanks a lot!