Mail Archives: djgpp/1996/01/18/18:10:34
> try to compile them with DJGPP under Win95. I get an error resembling
> iostream.h: streambuf.h: file doesn't exist. I know the actual file is
> named streambu.h because of DOS 8.3 limit. I assume Win95 support for
> long filename is causing this error. I've checked iostream.h and it does
> include <streambuf.h> which apparently get truncated under DOS to streambu.h.
There are a couple of potential fixes.
If you don't want to use Long File Names (LFNs), then at the command line
enter: SET LFN=n
And this should turn off LFNs for the session. If you never want to use
LFNs, you can add this line to your djgpp.env file.
If you only plan to run under W95, and want to use LFNs, at the command
line enter: rename streambu.h streambuf.h (and the same for any other
long names you might encounter). Under the default W95 setup this will
add some ugly numeric tail to the short name, which will mess up running
w/o W95 running. There is a registry setting which suppresses the numeric
tail if the short name is unique. If you set this setting and reboot,
you can then have your system such that either works well. I don't have
the exact info here, but if you are interested I can post the details
on setting the registry value later.
- Raw text -