Mail Archives: djgpp/2001/07/20/06:30:07
"Rafal Maj (Raf256)" <raf256 AT go2 DOT pl> wrote:
> nobody had answared yet my earlier question about re-compiling in RHIDE file
> changed by external program, so I think that I'll do a litle work-around...
Well, if you feel courageous, you could try adding this to RHIDE, as a
feature, instead.
> I don't use debuger, so I can use any editor, and build project using *.bat
Bad idea. There's a much preferrable tool for that, already: "make".
And for a start, you can take your existing project and let RHIDE
create a makefile from it. The resulting Makefile isn't exactly pretty
or even well-written, but it'll get you off the ground. Inspect it
and read "info make" to understand how it works. Also have a look at
some existing Makefiles from other project, to get a feel for it.
> But ther is one problem... file dependiences checking (re-compiling only
> moddified files by comparing time of .cc and of .o) is done by RHIDE or by
> GCC utils ?
It's a joint effort, actually. GCC can provide information about
dependencies, and RHIDE (or make) can make use of them to avoid
needless recompilations.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -