Mail Archives: djgpp/1997/10/22/02:32:44
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 <conio.h>)
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. |
---------------------------------------------------------------------
- Raw text -