Date: Sun, 23 Nov 1997 19:33:33 +0100 (MET) From: Hans-Bernhard Broeker To: Eli Zaretskii cc: DJ Delorie , djgpp-workers AT delorie DOT com Subject: Re: alpha-971114: Makefiles revisited In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 23 Nov 1997, Eli Zaretskii wrote: I had noted: > > > * It will unconditionally install all the files in '../bin', '../lib' > > > etc., relative to the 'src' directory where the build starts. > Can we *please* have an option to build the libraries and utilities > without overwriting the current ones? Well, using my patches to the makefiles, you can: Just by unpacking the djlsr distribution .zip to somewhere else than $(DJDIR) (and maybe changing the line setting MY_LIBGCC_A in makefile.def), you can build them without overwriting anything at all. My original diffs from July went one step further: they wrote nothing to any place up-tree of the 'src' directory during the 'make' run. Everything was built in src/{bin,lib,info,include}, and only by calling 'make install' it would be transferred to the actual target location. Given enough interest (i.e.: a good chance that it'll make it into the distributed version), I might re-implement that trick for the current setup. DJ? > One situation where this might come in handy is when you want to build > a library with non-default options, like -pg. Good point. Building a 586-optimized lib for experimental purposes might be another interesting idea along these lines. Generally, experimental builds should never overwrite the production versions. Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.