www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/03/20:53:43

From: Faisal <faisal AT student DOT unsw DOT edu DOT au>
Sender: s2230697 AT cse DOT unsw DOT edu DOT au
To: djgpp AT delorie DOT com
Date: Fri, 04 Sep 1998 10:53:13 +1000
Message-ID: <35EF39F9.876@student.unsw.edu.au>
MIME-Version: 1.0
Subject: problem/bug/c++

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019