From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help: Newbie can't compile a ' Hello world' program Date: Wed, 08 Apr 1998 18:20:46 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 39 Message-ID: <352BF83E.2E22@cs.com> References: <6gfvq9$ref$1 AT newton DOT pacific DOT net DOT sg> NNTP-Posting-Host: ppp226.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Daniel Cheng wrote: > > When I tried to compile a c program such as: > > gcc filename.c > > I got the following two error messages: > > No include path in which to find stdio.h > No include path in which to find stdlib.h > > Have I missed out anything? BTW I have read the readme.1st and the FAQ, > but cannot figure out what else do I need to do. Your installation looks okay to me, but I do not recognize those two error messages. I'm not even sure that they come from DJGPP. Are you certain that you don't have any programs from a different compiler (like Borland or Turbo C) somewhere on your PATH before the DJGPP 'bin' directory? If so, those will get called instead of the DJGPP programs, causing no end of trouble. If this doesn't help, you may want to try out my DJVERIFY installation diagnostic utility. It's not quite ready for release yet but you can help me test the latest version, which is downloadable from my web site (http://www.cs.com/fighteer/). hth! -- John M. Aldrich - ICQ UIN# 7406319 * Anything that happens, happens. * Anything that, in happening, causes something else to happen, causes something else to happen. * Anything that, in happening, causes itself to happen again, happens again. * It doesn't necessarily do it in chronological order, though. --- Douglas Adams