delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/14/10:45:37

From: "Charles" <ddoss AT columbus DOT rr DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <xFL15.21809$0T2 DOT 368765 AT typhoon DOT columbus DOT rr DOT com> <_UL15.21811$0T2 DOT 365344 AT typhoon DOT columbus DOT rr DOT com>
Subject: sorry stupid me -- figured it out on my own
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <lTM15.21821$0T2.369030@typhoon.columbus.rr.com>
Date: Wed, 14 Jun 2000 14:44:33 GMT
NNTP-Posting-Host: 24.31.177.134
X-Complaints-To: abuse AT rr DOT com
X-Trace: typhoon.columbus.rr.com 960993873 24.31.177.134 (Wed, 14 Jun 2000 10:44:33 EDT)
NNTP-Posting-Date: Wed, 14 Jun 2000 10:44:33 EDT
Organization: Road Runner Columbus
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

ok, i feel like im talking to myself ive replied to myself twice in the past
30 min ...

anyhow:in my last post i was confused about what the path did. What i really
wanted
was the djgpp.env file -- which i accidentally found (i was just going thru
files and i
opened that one up. The problem i had been having was that i had saved the
file
as .c , and iostream.h is for c++.  Djgpp.env had a path to /include for .c
files, and
a path to /include and a path to /lang/cxx/ for cpp files. so once i changed
it to .cpp
the program worked with the iostream.h

I do have one last, less important question now, though:
When i have test.cpp in one directory  /djgpp/myprograms/  how can i get the
test.o and test.exe to be created in the same directory instead of just in
/djgpp???

Also, when i click compile and then make in Rhide, where is it getting the
instructions
on what to do?? What makefile is it using to 'make' ?? There are like 8
makefiles in /djgpp but I don't know if it is using any of those.  When i
hit 'make' or 'compile' it gives me a line of instructions which disappears
when it finishes compiling (b/c my programs are simple compilation is shot,
so i don't have time to see what it says) and then that buffer is gone and I
can't find out what it said.
 I'm trying to learn what I would type at the command line if there was no
'compile' or 'make' button, or what i would put into a makefile.

Can anyone direct me to anywhere where i can learn how to use makefiles and
how to compile/make from the command line?  Is it in the manpages or info
files?

Thanks so much for helping such a newbie at all this ...
Charles


- Raw text -


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