Date: Sun, 17 Mar 1996 17:12:54 +0200 (IST) From: Eli Zaretskii To: David Rieken Cc: djgpp AT delorie DOT com Subject: Re: setting environment variables In-Reply-To: <4if1rp$8p8@vixen.cso.uiuc.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.