www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/22:32:49

Sender: nate AT cartsys DOT com
Message-ID: <35E60C46.8D29E8C9@cartsys.com>
Date: Thu, 27 Aug 1998 18:47:50 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: john_maple AT yahoo DOT com
CC: djgpp AT delorie DOT com
Subject: Re: Problem running DJGPP v2
References: <6s47de$sa4$1 AT nnrp1 DOT dejanews DOT com>

john_maple AT yahoo DOT com wrote:
> 
> I downloaded DJGPP v2 last night, selecting the files with the ZipPicker at
> the DJGPP web site.  Everything unzipped okay, but I am having some problems
> with the basic setup.  I am trying to run in a DOS window under Win95.
> 
> First, I can't seem to get my autoexec file to run the 2 lines that must be
> added to point to the DJGPP environment.  I'm not sure why... I can open up a
> DOS shell and type these lines in, and then everything works, but adding it to
> the autoexec file has no effect.  I am adding them into the very beginning of
> the file, even before McAffee does its virus scan.  No effect.

What do you mean, "no effect"?  It's not supposed to print anything on
the screen when it runs, and your error below implies that it did get
set (otherwise, it wouldn't have gotten that far).
 
> Second, once I entered the lines from the DOS prompt, I went into RHIDE and
> typed in the famous Hello World program.  When I went to "Build All" from
> RHIDE, it choked on the very first line, "#include <iostream.h>" and gave me
> the following build error:
> 
> Compiling: hello.cc
> hello.cc(1) In file included from hello.cc;1:
> c:/djgpp/lang/cxx/iostream.h(31) Error: streambuf.h: No such file or directory
> (ENOENT)

SET LFN=Y in AUTOEXEC.BAT.

-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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