Date: Thu, 1 Aug 1996 07:47:01 +0200 (IST) From: Eli Zaretskii To: Eben Sutton Cc: djgpp AT delorie DOT com Subject: Re: compiling of c files In-Reply-To: <31FBD681.428A@uidaho.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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?)