Mail Archives: djgpp/1996/03/17/10:17:23
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 -