www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/24/17:21:01

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help for a newbie re:environment
Date: Tue, 24 Dec 1996 16:20:07 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 41
Message-ID: <32C07337.12D2@cs.com>
References: <32BF6E3E DOT 7A1F AT tiac DOT net>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Weldon Morgan wrote:
> 
> I checked the DJGPP FAQ so don't flame me.
> 
> When I tried to compile a simple program, I received the error stdio.h
> and math.h not found.  These are standard include files located in my
> c:\djgpp\include folder.
> 
> When I checked the environment, the environment pointed to the DJGPP.ENV
> file I entered in autoexec.bat.  I am clueless why gcc can't find the
> include files.

Did you read the second half of section 8.1?  Make sure you haven't
moved or altered 'djgpp.env' in any way, that you have sufficient FILES
set in your config.sys, that you haven't moved or renamed any of the
DJGPP programs, and that you aren't having problems due to running DJGPP
on a networked drive.  You say that the headers are in the include
folder, but did you make sure to unzip ALL the packages with '-d'?

Failing that, please post a complete system report as outlined in the
FAQ section 6.12, and also include the command line or makefile you use
to compile.  If you use RHIDE, then be sure you have the latest version
from Robert Hoehne's web site.

If you want to try out an in-development program for evaluating your
DJGPP system configuration, try downloading the alpha of DJVERIFY from
ftp://ftp.delorie.com/pub/djgpp/alpha/vrfy033a.zip.  Try running the
test compilation and see if it generates the same error, and also try
using it to generate a system report similar to the one mentioned
above.  Warning:  this program is an ALPHA version, so its performance
cannot be guaranteed.

Good luck!

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I      |   mailto:fighteer AT cs DOT com   |
| God's final message to His Creation: | http://www.cs.com/fighteer |
| "We apologize for the inconvenience."| Fight against proprietary  |
|                      - Douglas Adams | software - support the FSF!|
---------------------------------------------------------------------

- Raw text -


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