Mail Archives: djgpp/1996/08/01/00:52:04
On Sun, 28 Jul 1996, Eben Sutton wrote:
> is a Pentium/1gb HD/24mb RAM) however, when I try to compile
> any of the test files provided, either in the DJGPP root
> directory or in the \djgpp\tests\libc\... source
> directory (e.g. \djgpp\tests\libc\ansi\stdio\hello.c) they
> don't/won't compile because gcc can't find <stdio.h> or any
> of the other included files.
There should be an environment variable called "DJGPP" which you must set
to the exact pathname of the file DJGPP.ENV, like this:
set DJGPP=c:/djgpp/djgpp.env
(change the drive letter, if it isn't C: on your system). The above is
usually done in AUTOEXEC.BAT, but for quick check you can simply set it
from the DOS prompt and see if DJGPP compiles OK.
The above will work if you open a DOS prompt window and then run DJGPP
from within that window. The precise setup to make the above happen if
you run DJGPP with a PIF file depends on your preferences, but I'm sure
you will be able to figure it out. (Any NT guru out there who can help?)
- Raw text -