Mail Archives: djgpp/1998/02/08/22:02:08
From: | myknees AT aol DOT com (Myknees)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Newbie question, newbie error
|
Date: | 9 Feb 1998 02:48:26 GMT
|
Lines: | 69
|
Message-ID: | <19980209024800.VAA29923@ladder03.news.aol.com>
|
NNTP-Posting-Host: | ladder03.news.aol.com
|
References: | <01bd34f4$40f1e0a0$61f0a3c6 AT tracybuc>
|
Organization: | AOL http://www.aol.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
"Robb Beggs" <rjbeggs AT hotmail DOT com> writes:
> > The answer is probably not in the FAQ, it is even b
> > before that.
> > From what you write I am quite sure you didn't read t
> > the file
> > README.1ST, that tells you a few things about setting u
> > up
> > the environment variables. In a correctly installed d
> > djgpp
> > you _NEVER_ have to add the system include directories
> > when
> > compiling.
> >
> > So just say
> > SET DJGPP=c:/djgpp/djgpp.env
> > and try
> > gxx -o hello.exe hello.cc
> >
> >
> > --
> > Ciao
> > Tom
>
> Thanks Tom, but you forget I am a complete newbie.
:)
> Perhaps I should be more
> clear. I am using RHIDE, and where should I enter these
> commands?
He is talking about DOS things. If you type...
SET DJGPP=c:/djgpp/djgpp.env
...from the DOS command line (the DOS prompt) then the DOS environment is
changed. You create an environment variable "DJGPP" which has the value
"c:/djgpp/djgpp.env". That value is the location of your djgpp.env file. That
information is used by RHIDE and other djgpp programs, like gcc.
I think that Tom was giving you a way to see if the problem is in fact the lack
of the environment variable. To set the DJGPP environment variable
"permanently," you will need to do the things discussed in the readme.1st file.
When RHIDE or other djgpp programs need to know where everything is, they look
for the DJGPP variable in the DOS environment. So you won't be able to avoid
using DOS completely.
> Again I
> realize that this may have been in the readme, ( and
> since you say it is I
> believe you), but most of the readme and docs are a
> foreign language to me.
Well, tell us which part is difficult.
> If you could help me intergrate these commands with the
> IDE, I ill be
> silent, hopefully forever. :)
How morbid!
> I understand (sort of)
> how to use the direct
> commands, but I would rather use the IDE.
The IDE requires that certain things be done first. So you may have to get out
a text-editor and add a couple lines to your autoexec.bat file. It shouldn't
be a big deal, and then you'll be able to use the IDE.
--Ed (Myknees)
- Raw text -