Mail Archives: djgpp/1998/03/17/02:01:16
Michele Fox wrote:
>
> 1)compile - ans. "Compiling:hello.cpp" "hello.cpp(1) In file include
> from hello.cpp.1:
> c:/djgpp/lang/cxx/iostream.h(31) Error: streambuf.h: No such file or
> directory
> There were some errors
There are two possibilities which apply to gcc 2.8.0 only:
- You unzipped the DJGPP files under Windows 95 with a utility that
does not understand Windows 95 long filenames. In this case, you should
make sure that you have SET LFN=N in your environment.
- If you did unzip with long filenames preserved, you must SET LFN=Y in
your environment to compile programs under Windows 95 using gcc 2.8.0.
This problem happens because gcc 2.8.0 uses long filenames. See chapter
8.2 of the DJGPP Frequently Asked Questions list for a detailed
explanation of how to set up Windows 95 so that you can use DJGPP in
both LFN and non-LFN environments.
hth
--
---------------------------------------------------------------------
| John M. Aldrich | "Democracy is based on the assumption|
| aka Fighteer I | that a million men are wiser than one|
| mailto:fighteer AT cs DOT com | man. How's that again? I missed |
| http://www.cs.com/fighteer | something." - Lazarus Long |
---------------------------------------------------------------------
- Raw text -