Mail Archives: djgpp/1999/04/27/22:10:49
Ofer Nave wrote:
> > If you are running under Pure Dos or NT, then LFN will not work and you
> >should install DJGPP using a 16-bit zip program, or rename the files
> >"streambuf.h" -> "streambu.h" and such.
>
> That means I have to go into each header file and change the include
> statements. In other words, I have to edit "iostream.h" so that instead of
> "#include <streambuf.h>" it will say "#include <streambu.h>".
>
> That's a lot of work. It seems like this problem would be too common to
> have been left unsolved this long. Afterall, DJGPP is a compiler for *DOS*,
> which does not support more than 8.3. Why weren't the headers written with
> this in mind?
>
> If there's some point I'm missing, please enlighten me. Afterall, I'm
> fairly new to DJGPP.
You don't have to edit anything. If LFN is disabled, and you try to include
a file like "1234567890123.h", DJGPP will truncate the file to 8.3 and open
"12345678.h". So all you need to do is ensure that you have LFN working OR
ensure that all of the names of the files are simple truncations of their LFN
equivalents (this is usually done by most 16-bit unzip programs).
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT BrunNet DOT Net
Endlisnis AT HotMail DOT com
ICQ: 32959047
- Raw text -