From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: sorry stupid me -- figured it out on my own Date: 14 Jun 2000 15:19:23 GMT Organization: Aachen University of Technology (RWTH) Lines: 36 Message-ID: <8i87pr$m3q$1@nets3.rz.RWTH-Aachen.DE> References: <_UL15.21811$0T2 DOT 365344 AT typhoon DOT columbus DOT rr DOT com> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 960995963 22650 137.226.32.75 (14 Jun 2000 15:19:23 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 14 Jun 2000 15:19:23 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Charles wrote: > 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++. That's one of the potential problems I suspected, and which I asked you to show your compilation command line for. > 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??? The output files are by default created in the current directory. 'cd' to where the sources are, before you compile, and the .o and .exe will be there, too. > Also, when i click compile and then make in Rhide, where is it > getting the instructions on what to do?? Nowhere particular. It knows how the C compiler works, and automatically does the right thing (most of the time). > What makefile is it using to 'make' ?? None. RHIDE doesn't call 'make'. > 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. Read 'README.1st' again, for that. For thorough information about Makefiles, read 'info make' -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.