Mail Archives: djgpp/1998/05/01/16:01:22
Newsgroups: | comp.os.msdos.djgpp
|
From: | Aaron Judd <judda AT lethe DOT nosc DOT mil>
|
Subject: | DJGPP installation problems
|
Message-ID: | <3549FAE4.C945D31E@lethe.nosc.mil>
|
Sender: | news AT nosc DOT mil
|
Organization: | NCCOSC RDT&E Division, San Diego, CA
|
Mime-Version: | 1.0
|
Date: | Fri, 1 May 1998 16:40:04 GMT
|
Lines: | 114
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I'm a new DJGPP user. I've tired to solve this problem, but I'm
totally stuck. I hope someone can answer help. I've seen some of these
questions before, but nobody has ever answered them clearly enough for
me.
Basically I get the cannot find "streambuf.h: No such file or directory
(ENOENT)", and I cant figure out why or how to fix it.
#1. I went to the DJGPP zip picker and downloaded all the files it said
for c, c++, RHIDE, and ALLEGRO for windows,95,NT.
v2/copying.dj DJGPP Copyright info 2 kb
v2/djdev201.zip DJGPP Basic Development Kit 1.5 mb
v2/faq210b.zip Frequently Asked Questions 390 kb
v2/readme.1st Installation instructions 14 kb
v2apps/rhide14b.zip RHIDE 1.6 mb
v2gnu/bnu281b.zip Basic assember, linker 1.8 mb
v2gnu/gcc280b.zip Basic GCC compiler 1.3 mb
v2gnu/gpp280b.zip C++ compiler 1.3 mb
v2gnu/lgpp280b.zip C++ libraries 662 kb
v2gnu/mak3761b.zip Make (processes makefiles) 230 kb
v2gnu/txi390b.zip Info file viewer 456 kb
v2tk/allegro/alleg30.zip Allegro game library 1.2 mb
Total bytes to download: 10,853,278
#2. I unziped it all with WinZip6.3 into the C:\DJGPP\ directory. This
correctly perserved the long file names just fine.
#3. I set my enviorment variables. (in WinNT I set the system
enviorment) and tested their values with the echo command as follows.
C:\>echo %path%
C:\WINNT\system32;C:\WINNT;c:\jdk1.1.5\bin;C:\MSDEVSTD\BIN;C:\DJGPP\BIN
C:\>echo %djgpp%
C:\DJGPP\DJGPP.ENV
I even restarted my computer afterwords.
#4. I wrote the hello world C++ version "hello.cc"
#include <iostream.h>
int main(){
cout<<"Hello World\n";
return 0;
}
#5 I tried to compile it by typing "C:\gxx hello.cc".
>Note: Use gxx (or append -lstdc to your gcc command line) to compile
and link C++
>programs (*.cc)
This didn't work because my computer couldn't find the gxx.exe file. I
used the FIND FILES or FOLDERS and I couldn't find the any where on my
HardDrive. I couldn't find gxx.exe in any of the ZIPs I downloaded. I
only was able to find "gxx.exe" in "gcc272b.zip" which was not include
in the list from zip picker. "gxx.exe" is NOT in gcc280b.zip.
#6. Next I tried to compile it with g++ and gcc and gcc -lstdc. Both
ways give me the error
g++ hello.cc, gcc hello.cc, gcc -lstdc hello.cc all give the
following error:
"In file included from hello.cc:1:
c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
(ENOENT)"
I did a FIND FILES or FOLDERS and I can see there is a "streambuff.h"
file in the same directory as the "iostream.h". Why would DJGPP be able
to find iostream.h and not streambuff.h??
#7 Here is the gcc -v -lstdc hello.cc output.
Reading specs from c:/djgpp/lib/specs
gcc version 2.8.0
c:/djgpp/lib/gcc-lib/djgpp/2.80/cpp.exe -lang-c++ -v -undef
-D__GNUC__=2 -D__GN
UG__=2 -D__cplusspluss -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS
-DDJGPP=2 -
DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -DDJGPP__=2
-D__DJ
GPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2
-D__DJGPP_MINOR=1
-D__EXCEPTIONS hello.cc c:/djgpp/tmp/ccaaaaaa.ii
GNU CPP versin 2.8.0 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/lang/cxx
c:/djgpp/include
c:/djgpp/lang/cxx
c:/djgpp/lib/gcc-lib/djgpp/2.80/include
c:/djgpp/include
End of search list.
In file included from hello.cc:1:
c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
(ENOENT)
WHY DOESN'T DJGPP have a SELF-INSTALLING program!?!
WHY DOESN'T DJGPP have a COMPLETE MINIMAL DOWNLOAD file that has all the
files requiered to run DJGPP in one download?
Thanks
Aaron Judd
judda AT spawar DOT navy DOT mil
- Raw text -