This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: streambuf again.
Read how to install DJGPP on system that doesn't support LFN for DJGPP (as
WinNT) in DJGPP FAQ and readme files. See
http://www.delorie.com/djgpp/
for more details.
Andris
Also please send followups to djgpp@delorie.com instead of GCC mailing list
On Tue, 09 May 2000, Temporary Development wrote:
>
> HI
>
> 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 <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=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 <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
>
>
>
----------------------------------------
Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description:
----------------------------------------