Mail Archives: djgpp/2000/06/14/10:45:37
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 -