Mail Archives: djgpp/1998/09/03/20:53:43
Hi,
I inatalled Djgpp. I am using win95.I downloaded and installed these
files:
djdev201.zip
bnu281b.zip
gcc281b.zip
gpp281b.zip
lgp2811b.zip
mak377b.zip
objc281b.zip
txi390b.zip
faq210b.zip
in the directory called C:\Lang\DJGPP\
and I added path to C:\DJGPP\BIN;
and also added: set DJGPP=C:\DJGPP\DJGPP.ENV
Then rebooted.
Then I tried to write very simple c and c++ programs. The c file
compiled properly with gcc but with gxx or g++ I could not compile the
c++ program.
I used the command and got the output:
> gxx first.cpp -o first.exe
c:/lang/djgpp/bin/ld.exe: cannot open -lstdcxx: No such file or
directory(ENOENT)
> gxx test.cpp -o test.exe
In the file included from c:/lang/djgpp/lang/cxx/iostream:6 from
test.cpp:1:c:/lang/djgpp/lang/cxx/iostream.h:31:streambwf.h:No such file
or directory(ENOENT)
I also tried:
g++ first.cpp -o first.exe
g++ test.cpp -o test.exe
gcc -lobjdc first.cpp -o first.exe
gcc -lobjdc test.cpp -o test.exe
and still could not compile it. But I could compile the same programs in
unix environment in our university with g++.
Would you please email me soon about this case.
Thank You
Faisal
faisal AT student DOT unsw DOT edu DOT au
- Raw text -