From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Can't find include paths... Date: Tue, 21 Oct 1997 20:26:17 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 31 Message-ID: <344D0FE9.5245@cs.com> References: <344CD790 DOT 2528A98E AT ricochet DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp233.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jason Marshall wrote: > > I just installed djgpp the other night, and I have all the minimal > components to run it, however, when I run a batch file full of builds > for this program I want to compile (not mine, someone else's distrib), > it apparently can't find the std include directories, as if it's not > even looking at the DJGPP env var. (=D:\Program Files\djgpp\djgpp.env) > I even tried manually setting DJDIR in djgpp.env, but it still only > looks for /usr/ etc. when I do a gcc -v, and the FAQ suggests. I just > get a big cascade of file not founds for all the standard header > includes... (eg, #include ) The problem is that you're trying to install DJGPP in a directory tree that involves long filenames. Chapter 8.1 of the DJGPP FAQ discusses this problem; basically, DJGPP programs need to read their settings from the 'djgpp.env' file before they can begin using long filenames, but if the path to djgpp.env contains a long filename, they won't be able to find it in the first place. Under Windows NT, this is even worse because the LFN API is not supported at all for DOS programs. The only solution is to change the directory to your DJGPP files. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | "Starting flamewars since 1993" | http://www.cs.com/fighteer | | *** NOTICE *** This .signature is generated randomly. | | If you don't like it, sue my computer. | ---------------------------------------------------------------------