www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/17/20:33:57

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP installation problems
Date: Fri, 17 Apr 1998 19:06:43 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 62
Message-ID: <3537E083.2734@cs.com>
References: <35378921 DOT 1654937B AT bellatlantic DOT net>
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

aadhanda AT bellatlantic DOT net wrote:
> 
> Hello,
>     I am having installation problems with DJGPP.  I have installed
> gcc280b.zip,  lgpp280b.zip, bnu281b.zip, djdev201.zip, mak3761b.zip, and
> txi390b.zip from the "zip picker" on the DJGPP homepage. I have set the
> path in my autoexe.bat file but when i run the program "hello.cpp" it
> says:
>  iostream.h : no such file or directory.  Also,  I cannot find the files
> gpp.exe or gxx.exe for C++ compilation.  If anybody could help me it
> would be appreciated.  Thank You.

Lord, give me patience.  Have you read nothing we've told you over the
past week?  Your written English isn't all that bad, so are you just
ignoring what we say?  Please listen closely, because I'm losing
patience.

STEP 1)  You did not download all required files.  You also need
gpp280b.zip, which contains the C++ compiler programs.  If you'd read
'readme.1st', you'd know that.

STEP 2)  You must set the required environment variables, as described
in 'readme.1st'.  You don't just need to set the PATH; you also need to
set the DJGPP variable to point to the location of 'djgpp.env'.  The
following line is the most common example; you should modify it to suit
your own installation:

  SET DJGPP=C:\DJGPP\DJGPP.ENV

Don't put any spaces in the setting, and it doesn't matter whether it's
upper or lower case or what direction the slashes are.

If you _still_ can't figure out your problem, please post a system
report, containing the following information (the procedure is described
in greater detail in chapter 6.12 of the DJGPP Frequently Asked
Questions list (v2/faq210b.zip from SimTel or online at
http://www.delorie.com/djgpp/v2faq/), which I STRONGLY suggest you read!

 - Your autoexec.bat and config.sys files
 - The output of 'set' from your DOS prompt (type "set >environ.lst" and
post the resulting file)
 - The contents of 'djgpp.env'
 - The output of gpp when invoked with the '-v' option (capture with
"redir -o gcc.log -eo gpp -o myprog.exe myprog.cpp" and post 'gcc.log')

We need _all_ of this information to help you.

As an alternative, please consider trying out my DJVERIFY diagnostic
utility.  The latest build has been uploaded to my web site
(http://www.cs.com/fighteer/files/vrfy04a.zip).  It's designed to detect
problems in your installation and recommend solutions; it can also
prepare a system report that you can post to the newsgroup.

Hope this helps.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |     mailto:fighteer AT cs DOT com     |
|      ICQ UIN#:  7406319          |   http://www.cs.com/fighteer/  |
|    ObJoke:  If Bill Gates were a robber, not only would he        |
|     shoot you, but he'd send you a bill for the bullets.          |
---------------------------------------------------------------------

- Raw text -


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