From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Comad-line compiler Date: 20 Jul 2001 10:26:29 GMT Organization: Aachen University of Technology (RWTH) Lines: 29 Message-ID: <9j910l$p3f$1@nets3.rz.RWTH-Aachen.DE> References: <9j7b10$neh$1 AT info DOT cyf-kr DOT edu DOT pl> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 995624789 25711 137.226.32.75 (20 Jul 2001 10:26:29 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 20 Jul 2001 10:26:29 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Rafal Maj (Raf256)" 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.