delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/05/13:05:55

To: faisal AT student DOT unsw DOT edu DOT au
Cc: djgpp AT delorie DOT com
Subject: Re: problem/bug/c++
Message-ID: <19980905.100526.6447.0.vmccar@juno.com>
References: <35EF39F9 DOT 876 AT student DOT unsw DOT edu DOT au>
From: vmccar AT juno DOT com (Vincent D McCarthy)
Date: Sat, 05 Sep 1998 13:05:07 EDT

 One of your problems is that you installed DJGPP in a directory called
 c:\lang\DJGPP, you should have loaded DJGPP in to its own directory
  C:\DJGPP and not c:\lang\djgpp.
    The reason you are getting the error messages is because the compiler
and linker
cannot be found in c:\lang\djgpp.
     Everything else seems ok just reload DJGPP into c:\djgpp and it
should see the
compilers and libraries.
     good luck   
Vince  McCarthy

On Fri, 04 Sep 1998 10:53:13 +1000 Faisal <faisal AT student DOT unsw DOT edu DOT au>
writes:
>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
>

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

- Raw text -


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