From: Brett Leslie Porter Message-Id: <199708050407.OAA02186@wumpus.its.uow.edu.au> Subject: Are you having trouble with RHIDE? To: odaniel AT tstt DOT net DOT tt (Owen Daniel) Date: Tue, 5 Aug 1997 14:07:38 +1000 (EST) Cc: djgpp AT delorie DOT com (DJGPP) In-Reply-To: <33E6B188.23052049@tstt.net.tt> from Owen Daniel at "Aug 4, 97 11:52:25 pm" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk There has been a few people with problems compiling C++ files with RHIDE (namely .cpp): well you don't have to rename you're files to .cc anymore, because I have the solution!!! Following is an extract from the RHIDE homepage which fixes everything... -----cut here----- Known bugs - RHIDE searches in the wrong places for the file rhide.env. As in the doc said, that it searches the file for instance in $(DJDIR)/share/rhide, it searches in $(DJDIR)/share/rhide/rhide. That means, if you want to create your own customized rhide.env, you have to place it (when using RHIDE 1.3) in the directory with twice /rhide in it and when later switching to newer version of RHIDE move the file simply one directory lower. - Some builtin rules for compiling are wrong. But this can be solved by overwriting them with the correct values without recompiling RHIDE. To do it so create a file rhide.env (or add to an already existing) and put there the following lines # These variables are needed for RHIDE 1.3 because the builtin ones # are wrong. Any later version of RHIDE will have that corrected so # you can remove them when using a newer version. RHIDE_COMPILE.cpp.o=$(RHIDE_COMPILE.cc.o) RHIDE_COMPILE.cxx.o=$(RHIDE_COMPILE.cc.o) RHIDE_COMPILE.C.o=$(RHIDE_COMPILE.cc.o) RHIDE_COMPILE.pas.o=$(RHIDE_COMPILE.p.o) RHIDE_COMPILE.for.o=$(RHIDE_COMPILE.f.o) RHIDE_COMPILE.F.o=$(RHIDE_COMPILE.f.o) RHIDE_COMPILE.fpp.o=$(RHIDE_COMPILE.f.o) RHIDE_COMPILE.asm.o=$(RHIDE_COMPILE.nsm.o) RHIDE_COMPILE.cpp.s=$(RHIDE_COMPILE.cc.s) RHIDE_COMPILE.cxx.s=$(RHIDE_COMPILE.cc.s) RHIDE_COMPILE.C.s=$(RHIDE_COMPILE.cc.s) RHIDE_COMPILE.cpp.ii=$(RHIDE_COMPILE.cc.ii) RHIDE_COMPILE.cxx.ii=$(RHIDE_COMPILE.cc.ii) RHIDE_COMPILE.C.ii=$(RHIDE_COMPILE.cc.ii) And now copy the file rhide.env to the directory c:/djgpp/share/rhide/rhide [ if your DJGPP is an other, then replace c:/djgpp with the correct one ] And of course if this directory does not exeist, create it first. For Linux users: The directory should be /usr/local/share/rhide/rhide Or an other solution is to add these lines to your djgpp.env file in a section for RHIDE. Example: [rhide] ... <--- put here the lines from above -----cut----- OK! So now you can all compile C++ programs with that great IDE with no hassles! See ya! Brett