From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10632 invoked by alias); 8 Mar 2004 18:35:17 -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 10615 invoked from network); 8 Mar 2004 18:35:16 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 8 Mar 2004 18:35:16 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 39C772B92; Mon, 8 Mar 2004 13:35:16 -0500 (EST) Message-ID: <404CBCE4.6070401@gnu.org> Date: Mon, 08 Mar 2004 18:35: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: Daniel Jacobowitz Cc: 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> In-Reply-To: <20040308181142.GA23441@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03.o/txt/msg00170.txt Message-ID: <20040308183500.ntcdR8t4sJoc40zwPapuPrY5XKF5MPpC2sdOn2ECmr8@z> >>>So what about using the output of gcc -MM (or one of the other -M >>>> >options?) to generate dependencies in the source directory, like BFD >>>> >does? >> >>> >>> How is embedding this stuff in the source directory better? > > > Because it doesn't need to rely on assumptions about the GDB coding > style, and it doesn't require parsing all the source files when we > configure? Er, that's a postive - the dependency list is guarenteed to always match the shipped source. > It's like regenerating configure; we try not to run > autoconf during the build process, and not just because autoconf is so > finicky. Andrew