From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24869 invoked by alias); 11 Mar 2004 17:23:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24855 invoked from network); 11 Mar 2004 17:23:40 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 11 Mar 2004 17:23:40 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 067D12B92; Thu, 11 Mar 2004 12:22:57 -0500 (EST) Message-ID: <4050A070.5060508@gnu.org> Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Michael Snyder Cc: Daniel Jacobowitz , Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Generate makefile dependencies References: <404BBFD6.1060702@gnu.org> <6137-Mon08Mar2004080725+0200-eliz@elta.co.il> <404C9E34.4010809@gnu.org> <20040308172924.GA20940@nevyn.them.org> <404CB609.4070609@gnu.org> <20040308181142.GA23441@nevyn.them.org> <404CBCE4.6070401@gnu.org> <404CFE22.8010702@redhat.com> In-Reply-To: <404CFE22.8010702@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00272.txt.bz2 Message-ID: <20040319000900.StWtWWGs-x-Bg_7LWPkZwf6kXRrAyIvbLqf_fdHmbBY@z> >> Er, that's a postive - the dependency list is guarenteed to always match the shipped source. > > > Might be too big a step, depending on how expensive it is. > I think this has been experimented with before, and was abandoned > because there are a lot of header files on which -everything- depends. > If the makefile dependencies are -too- correct, then touching any > of those files causes everything to rebuild. Sometimes you want > that -- but sometimes you don't. The oposite is true. Per: > # "system" headers. Using these in dependencies is a rather personal > # choice. (-rich, summer 1993) > # (Why would we not want to depend on them? If one of these changes in a > # non-binary-compatible way, it is a real pain to remake the right stuff > # without these dependencies -kingdon, 13 Mar 1994) People have always tried to keep the dependencies correct (but have unfortunatly had to do it by hand). With 6.0 the dependencies were checked and updated mechanically, and with this patch that mechanism becomes the default. No longer a need to hand generate this stuff. Andrew > Can I suggest maybe having a separate make target for > generating the dependencies? And maybe a second one for > reverting them? Then you could choose when to do it. >>> It's like regenerating configure; we try not to run >>> autoconf during the build process, and not just because autoconf is so >>> finicky. >> >> >> >> Andrew >> >> >> > > >