delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/03/04:11:17

From: "John M. Aldrich" <fighteerNO AT SPAMcs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems....
Date: Sun, 27 Apr 1997 11:29:49 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 51
Message-ID: <336338AD.3254@SPAMcs.com>
References: <3364074F DOT 1348 AT pacbell DOT net>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp108.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

adamk AT pacbell DOT net wrote:
> 
> I am very desperate here. I connot figure out why I cannot program
> anything. AND IT'S ALL BECAUSE OF MY IOSTREAM.H! It seems no one can
> help me. I am thinking it has something to do with my
> Autoexec.bat. I made the thing by "edit autoexec.bat" in C:/DJGPP. And
> this is what it looks like.
> set djgpp=c:/djgpp/djgpp.env
> c:\djgpp\bin
> path=c:\dos;c:\bin;c:\tc\bin
> path=c:\dos;c:\bin;c:\djgpp\bin;c:\tc\bin
> 
> This is exactly how it looks..Am I suppose to put something where path
> is? I realy have no idea, I sure hope someone can help me.

Not exactly a DOS guru, are you?  ;)  First, 'autoexec.bat' goes in the
root directory of your boot drive.  In most computers, this is the C:\
directory.  Second, try taking out lines 2 and 3 completely.  All you
need is the following:

path=c:\dos;c:\bin;c:\djgpp\bin;c:\tc\bin
set djgpp=c:/djgpp/djgpp.env

If you're running Win95, examine the DOS box properties sheet to make
sure that the 'autoexec.bat' and 'config.sys' are set up properly (I'm
not exactly sure how to do this, because I don't have Win95).

Now, examine the remaining items on the standard checklist:

 - You downloaded and installed the C++ libraries, 'v2/lgp271b.zip'.
 - You unzipped ALL packages with the '-d' switch, to preserve the
built-in directory structure.
 - 'iostream.h' is actually in c:\djgpp\lang\cxx\.
 - You're compiling your program with the correct command line.

There is a lot more information on correct setup in chapter 6 of the
DJGPP FAQ (v2/faq210b.zip).  If all else fails, follow the format in
chapter 6.12 to create a system report that can be posted on this
newsgroup.

In the future, please try to follow the recommended format for posting
configuration questions.  There's a reason we ask you to do it that way.

hth

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |     mailto:fighteer AT cs DOT com     |
| Plan:  To find ANYONE willing to |   http://www.cs.com/fighteer   |
| play Descent 2 on DWANGO!        | Tagline: <this space for rent> |
---------------------------------------------------------------------

- Raw text -


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