Date: Fri, 20 Jun 1997 19:40:56 +0200 (MET DST) From: Hans-Bernhard Broeker Subject: Re: Library rebuilds (was Re: Possible misbehavior of write) In-reply-to: <199706201735.NAA04457@delorie.com> To: DJ Delorie Cc: djgpp-workers AT delorie DOT com Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Precedence: bulk On Fri, 20 Jun 1997, DJ Delorie wrote: > > and so on. One point that bugged me most: I had to call 'makeall.bat' > > *four* times in a row to build the library from scratch (i.e. even the > > fourth compile still found a reason to recompile something...). > > I think there's a dependency loop, so no matter how many times > you makeall, something gets made: > > stub.h depends on djasm.exe > djasm.exe depends on libc.a > libc.a depends on crt0.o > crt0.o depends on stub.h From my experience, that loop seems to have a hole somewhere, for it did not rebuild anything on a fifth or subsequent run of makeall.bat. At least, that's what I recall it to be. > As for reorganizing the build, I'll accept changes provided the solve > the following needs: [...] You know what? I'll try that, this weekend. HBB