Mail Archives: djgpp/2000/05/09/15:30:16
> From: "Temporary Development" <cntdev1 AT nortelnetworks DOT com>
> Date: Tue, 9 May 2000 12:04:12 +0100
>
> #include <iostream.h>
>
> int main()
> {
> cout << "Hello world - test build" << endl;
>
> return 0;
> }
> ----------------------------------------------------------------------------
> ------------------------------------------------
>
> C:\mjb\prg\cpp>gxx -Wall chkbld.cpp -o chkbld.exe
> In file included from chkbld.cpp:1:
> c:/mjb/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
> (ENOENT)
[snip]
> C:\mjb\djgpp\lang\cxx>dir *stream*.h
> Volume in drive C has no label.
> Volume Serial Number is 07CF-0208
>
> Directory of C:\mjb\djgpp\lang\cxx
>
> 01/14/00 12:57p 17,057 streambuf.h
Here's your problem: you unzipped the package with a program that
supports long file names. However, DJGPP does not support long file
names on NT. If you type "dir /x *stream*.h" you will see what are
the names that DJGPP programs see; I'm guessing that the short alias
of streambuf.h is something like stream~1.h, but DJGPP expects to see
streambu.h.
The solution is to unzip all the packages with the unzip32.exe program
that is available from the same place where you get DJGPP.
This is further explained in the file README.1ST and in the FAQ.
- Raw text -