Message-ID: <61ABD11436FED21192440000F81F3E360277A66A@nwcwi1a.europe.nortel.com> From: "Temporary Development" To: "'djgpp AT delorie DOT com'" Subject: streambuf.h again. Date: Tue, 9 May 2000 12:04:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BFB9A6.4FF9CC46" Reply-To: djgpp AT delorie DOT com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BFB9A6.4FF9CC46 Content-Type: text/plain; charset="iso-8859-1" HI First apologies for mailing the gcc mailing list - sorry! Second apologies for another mail about the C++ headers, you look like you have seen a few. I've only just come across DJGPP and have just installed 2.95, I'm having trouble with headers in C++ (headers for C source are fine). I've read quite a few notes and FAQs etc about the C++ headers but I am still having trouble. Following is the output from serveral commands so you can see the state of the system I'm using. All I want (for now) is the ability to compile and link C/C++ programs on the command line to create executables, as I said the C stuff seems OK (using gcc -Wall file.c -o file.exe) and the long filenames seem OK. One thing I noticed is the forward slashes in the path to the header after I run gxx, would this make a difference? C:\mjb\djgpp>ver Windows NT Version 4.0 ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\djgpp>go32-v2 go32/v2 version 2.0 built Dec 24 1999 17:46:57 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries as well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH but do not delete your old go32 - leave it in the PATH after this one. Set GO32_V2_DEBUG=y in the environment to get verbose output. DPMI memory available: 82693 Kb DPMI swap space available: 0 Kb ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\djgpp>set|grep DJG DJGPP=c:\mjb\djgpp\djgpp.env ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\djgpp>path PATH=c:\mjb\bin;C:\WINNT\system32;C:\WINNT;d:\programs\toolmaster\bin;d:\pro gram s\toolmaster\bin\winnt;d:\programs\temp\bin;d:\programs\temp\bin\winnt;.;D:\ Java \SDK\1_2_2\bin;D:\Poet\bin;d:\programs\VisualCafe\BIN;d:\programs\VisualCafe \JAV A\BIN;c:\mjb\djgpp\bin; ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\djgpp\lang\cxx>dir get*.h Volume in drive C has no label. Volume Serial Number is 07CF-0208 Directory of C:\mjb\djgpp\lang\cxx 01/14/00 01:02p 471 getpagesize.h ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\prg\cpp>type chkbld.cpp #include 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 (ENO ENT) ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\djgpp>ver Windows NT Version 4.0 ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\djgpp>go32-v2 go32/v2 version 2.0 built Dec 24 1999 17:46:57 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries as well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH but do not delete your old go32 - leave it in the PATH after this one. Set GO32_V2_DEBUG=y in the environment to get verbose output. DPMI memory available: 82693 Kb DPMI swap space available: 0 Kb ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\djgpp>set|grep DJG DJGPP=c:\mjb\djgpp\djgpp.env ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\djgpp>path PATH=c:\mjb\bin;C:\WINNT\system32;C:\WINNT;d:\programs\toolmaster\bin;d:\pro gram s\toolmaster\bin\winnt;d:\programs\temp\bin;d:\programs\temp\bin\winnt;.;D:\ Java \SDK\1_2_2\bin;D:\Poet\bin;d:\programs\VisualCafe\BIN;d:\programs\VisualCafe \JAV A\BIN;c:\mjb\djgpp\bin; ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\djgpp\lang\cxx>dir get*.h Volume in drive C has no label. Volume Serial Number is 07CF-0208 Directory of C:\mjb\djgpp\lang\cxx 01/14/00 01:02p 471 getpagesize.h ---------------------------------------------------------------------------- ------------------------------------------------ C:\mjb\prg\cpp>type chkbld.cpp #include 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 (ENO ENT) ---------------------------------------------------------------------------- ------------------------------------------------ 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:56p 1,165 _iostreamP.h 01/14/00 12:56p 3,475 fstream.h 01/14/00 12:56p 2,925 indstream.h 01/14/00 12:56p 9,675 iostream.h 01/14/00 12:56p 1,142 istream.h 01/14/00 12:56p 1,142 ostream.h 01/14/00 12:56p 5,431 parsestream.h 01/14/00 12:57p 2,291 pfstream.h 01/14/00 12:57p 2,602 stdiostream.h 01/14/00 12:57p 2,023 stream.h 01/14/00 12:57p 17,057 streambuf.h 01/14/00 12:57p 4,314 strstream.h ------_=_NextPart_001_01BFB9A6.4FF9CC46 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable streambuf.h again.

HI

First apologies for mailing the gcc = mailing list - sorry!

Second apologies for another mail = about the C++ headers, you look like you have seen a few.

I've only just come across DJGPP and = have just installed 2.95, I'm having trouble with headers in C++ = (headers for C source are fine).  I've read quite a few notes and = FAQs etc about the C++ headers but I am still having trouble.  = Following is the output from serveral commands so you can see the state = of the system I'm using.  All I want (for now) is the ability to = compile and link C/C++ programs on the command line to create = executables, as I said the C stuff seems OK (using gcc -Wall file.c -o = file.exe) and the long filenames seem OK.  One thing I noticed is = the forward slashes in the path to the header after I run gxx, would = this make a difference?

C:\mjb\djgpp>ver
Windows NT Version = 4.0
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\djgpp>go32-v2
go32/v2 version 2.0 built = Dec 24 1999 17:46:57
Usage: go32 coff-image = [args]
Rename this to go32.exe = only if you need a go32 that can run v2 binaries as
 well as v1 binaries = (old makefiles).  Put ahead of the old go32 in your PATH
 but do not delete = your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=3Dy in = the environment to get verbose output.

DPMI memory available: 82693 = Kb
DPMI swap space available: = 0 Kb
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\djgpp>set|grep = DJG
DJGPP=3Dc:\mjb\djgpp\djgpp.env
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\djgpp>path
PATH=3Dc:\mjb\bin;C:\WINNT\system32;C:\WINNT;d:\programs\toolmast= er\bin;d:\program
s\toolmaster\bin\winnt;d:\programs\temp\bin;d:\programs\temp\bin\= winnt;.;D:\Java
\SDK\1_2_2\bin;D:\Poet\bin;d:\programs\VisualCafe\BIN;d:\programs= \VisualCafe\JAV
A\BIN;c:\mjb\djgpp\bin;
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\djgpp\lang\cxx>dir = get*.h
 Volume in drive C has = no label.
 Volume Serial Number = is 07CF-0208

 Directory of = C:\mjb\djgpp\lang\cxx

01/14/00  = 01:02p           =         471 getpagesize.h
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\prg\cpp>type = chkbld.cpp
#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 (ENO
ENT)
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\djgpp>ver
Windows NT Version = 4.0
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\djgpp>go32-v2
go32/v2 version 2.0 built = Dec 24 1999 17:46:57
Usage: go32 coff-image = [args]
Rename this to go32.exe = only if you need a go32 that can run v2 binaries as
 well as v1 binaries = (old makefiles).  Put ahead of the old go32 in your PATH
 but do not delete = your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=3Dy in = the environment to get verbose output.

DPMI memory available: 82693 = Kb
DPMI swap space available: = 0 Kb
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\djgpp>set|grep = DJG
DJGPP=3Dc:\mjb\djgpp\djgpp.env
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\djgpp>path
PATH=3Dc:\mjb\bin;C:\WINNT\system32;C:\WINNT;d:\programs\toolmast= er\bin;d:\program
s\toolmaster\bin\winnt;d:\programs\temp\bin;d:\programs\temp\bin\= winnt;.;D:\Java
\SDK\1_2_2\bin;D:\Poet\bin;d:\programs\VisualCafe\BIN;d:\programs= \VisualCafe\JAV
A\BIN;c:\mjb\djgpp\bin;
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\djgpp\lang\cxx>dir = get*.h
 Volume in drive C has = no label.
 Volume Serial Number = is 07CF-0208

 Directory of = C:\mjb\djgpp\lang\cxx

01/14/00  = 01:02p           =         471 getpagesize.h
-----------------------------------------------------------------= -----------------------------------------------------------

C:\mjb\prg\cpp>type = chkbld.cpp
#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 (ENO
ENT)
-----------------------------------------------------------------= -----------------------------------------------------------

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:56p           =       1,165 _iostreamP.h
01/14/00  = 12:56p           =       3,475 fstream.h
01/14/00  = 12:56p           =       2,925 indstream.h
01/14/00  = 12:56p           =       9,675 iostream.h
01/14/00  = 12:56p           =       1,142 istream.h
01/14/00  = 12:56p           =       1,142 ostream.h
01/14/00  = 12:56p           =       5,431 parsestream.h
01/14/00  = 12:57p           =       2,291 pfstream.h
01/14/00  = 12:57p           =       2,602 stdiostream.h
01/14/00  = 12:57p           =       2,023 stream.h
01/14/00  = 12:57p           =      17,057 streambuf.h
01/14/00  = 12:57p           =       4,314 strstream.h



------_=_NextPart_001_01BFB9A6.4FF9CC46--