www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/08/18:34:51

From: "John M. Aldrich" <fighteer AT cs DOT com>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 <fighteer AT cs DOT com> - 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019