www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/17/10:17:23

Date: Sun, 17 Mar 1996 17:12:54 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: David Rieken <rieken AT ifp DOT uiuc DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: setting environment variables
In-Reply-To: <4if1rp$8p8@vixen.cso.uiuc.edu>
Message-Id: <Pine.SUN.3.91.960317170735.16543S-100000@is>
Mime-Version: 1.0

On 16 Mar 1996, David Rieken wrote:

> set djgpp=c:\djgpp\djgpp.env
> 
> After trying to compile a program, I then get an error message to
> the effect that my include files are not found.  If I use the set
> command at the dos prompt i get a list of all environment variables
> and their settings.  DJGPP = c:\djgpp\djgpp.env is the only variable
> relevant to gcc.  This doesnt seem right.

If the above setting of DJGPP indeed includes blanks around the equals 
sign, then that's the cause of your grief.  Please be sure the setting in 
your AUTOEXEC.BAT doesn't have these blanks.  When you type ``set'' from 
the DOS prompt, you should see this:

	DJGPP=c:\djgpp\djgpp.env

(without any blanks near the `=').  Please also check that there is a 
file called DJGPP.ENV in the above directory, and that it sets a value 
for C_INCLUDE_PATH.

If all of the above doesn't help, add -v to the compilation command line
and post everything gcc prints while compiling. 

- Raw text -


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