www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/22/05:00:23

From: mzimmet AT voicenet DOT com (Michael Zimmet)
Newsgroups: comp.os.msdos.djgpp
Subject: Installation help needed
Message-ID: <362ef807.6386307@netnews.voicenet.com>
X-Newsreader: Forte Agent 1.5/32.451
X-No-Archive: yes
MIME-Version: 1.0
Lines: 54
Date: Thu, 22 Oct 1998 09:55:51 GMT
NNTP-Posting-Host: 207.103.133.23
X-Trace: news3.voicenet.com 909050052 207.103.133.23 (Thu, 22 Oct 1998 05:54:12 EDT)
NNTP-Posting-Date: Thu, 22 Oct 1998 05:54:12 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I've downloaded DJGPP (all the appropriate files) and RHIDE.

My computer is a Pentium, running Windows 98.

I unzipped the files using WinZip 6.2 32-bit. The directory tree
appears to be intact and so forth.

I've added the appropriate information to my autoexec.bat
("C:\djgpp\bin;" to the PATH statement, and "SET
djgpp=c:\djgpp\djgpp.env").

I've edited DJGPP.env such that LFN=Y. (The long file names
thing.)

DJGPP appears to have ample memory with which to operate.

My problem is that I can't compile even extremely simple
programs, except from the command line. For example:

// Program: ZIMMET.CPP

#include <iostream.h>

int main()
	{
	cout << "Howdy there.";
	return 0;
	}

doesn't compile from within RHIDE. Instead, I get the rather
unenlightening message, "There were some errors."

If I go to a DOS prompt and type "gxx -Wall -O -g zimmet.cpp"
an executable file is created. (One producing the stirring
message, "Howdy, there.") So it would seem that DJGPP is
installed correctly. Or at least not too incorrectly.

Similar situation with the several other simple programs I've
tried.

Can anybody offer some suggestions? I've looked at the FAQ, but
haven't made much progress on this problem. On the other hand, I
don't seem to be getting messages from within RHIDE stating that
it can't find iostream.h, so maybe my hours of deleting and
reinstalling and generally poking around in files has resulted in
victory over at least that one problem. :)

Please keep the advice very simple and clearly spelled out; I'm
brand new to programming, have no Unix experience, and even in
DOS/Win98 matters I'm one of those people for whom those "<TOPIC>
For Dummies," books are squarely aimed and appropriately titled.
-- 
Michael Zimmet
mzimmet AT voicenet DOT com

- Raw text -


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