Date: Wed, 31 Jul 1996 22:29:34 -0700 (PDT) From: Sutton Eben Subject: Re: compiling of c files To: Eli Zaretskii cc: djgpp AT delorie DOT com In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I finally figured this out: Windows NT doesn't support long file names in "DOS" windows when running under NTFS. Therefore, the software cannot reside in a directory (or below an directory in the tree) that utilizes long filenames. I had installed the compilor under x:\Languages\djgpp\ which didn't allow the setting of any of the environment variables, because "languages" had 9 characters. I renamed the directory to x:\language\djgpp\ which of course only has eight letters, and now everything works just fine. I hope this helps someone else in the future running Windows NT (which I continue to believe means Windows Non-Tolerant). Thanks for the help!! ---------------------------------------- Eben Sutton University of Idaho Business and Acctg Services Accounts Receivable / Student Loans esutton AT uidaho DOT edu ---------------------------------------- On Thu, 1 Aug 1996, Eli Zaretskii wrote: > > 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?) >