delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/02/01:16:08

Mime-Version: 1.0
To: Aaron Judd <judda AT lethe DOT nosc DOT mil>, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: DJGPP installation problems
Date: Fri, 1 May 1998 22:10:23 -0700
Message-ID: <19980502051013.AAD531@ppp122.cartsys.com>

At 04:40  5/1/1998 GMT, Aaron Judd wrote:
>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.

Long file names are not supported on Windows NT, and the numeric tails
affixed to the short aliases confuse the compiler. Unzip with a non-LFN
unzipper, or I believe there is a Windows setting to disable numeric tails.

[expunged]

>#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.

Did you check to see whether or not they stayed set? I don't know what the
"system environment" on NT is.

>#5 I tried to compile it by typing "C:\gxx hello.cc".

Think about it. Unless you put `gxx' in your C: root directory (a REALLY BAD
idea), this won't work. Just run `gxx hello.cc'.

Oh, but you're using 2.8.0. This has been changed; now the command is `gpp'
or `g++'. Yes, I also think the documentation should reflect this. DJ?

>
>>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??

That I don't know, but try the solution mentioned above. I suspect it will help.

>#7 Here is the gcc -v -lstdc hello.cc output.

Er... I believe that should be `-lstdcxx'.

[deleted]

>WHY DOESN'T DJGPP have a SELF-INSTALLING program!?!

BECAUSE NOBODY HAS WRITTEN ONE.  This is *free software*, remember?

>WHY DOESN'T DJGPP have a COMPLETE MINIMAL DOWNLOAD file that has all the
>files requiered to run DJGPP in one download?

Because peoples' ideas of "all the files required to run DJGPP" vary
greatly.  Should it include C++?  Objective-C?  Pascal?  Make?  Bison???

Believe me, the zip picker is a big improvement. I haven't known it to be wrong.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


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