From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Build-time dependencies Date: Mon, 9 Jun 2008 16:41:03 +0000 Message-ID: <20080609164103.GB6098@muc.de> References: <20080606155915.GA3953@muc.de> <20080606203541.GA1741@muc.de> <20080607095024.GC1812@muc.de> <20080607200821.GI1812@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213028363 29976 80.91.229.12 (9 Jun 2008 16:19:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2008 16:19:23 +0000 (UTC) Cc: Glenn Morris , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 09 18:20:05 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K5k61-0005xn-3j for ged-emacs-devel@m.gmane.org; Mon, 09 Jun 2008 18:19:49 +0200 Original-Received: from localhost ([127.0.0.1]:48493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5k5D-0003JU-MP for ged-emacs-devel@m.gmane.org; Mon, 09 Jun 2008 12:18:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5k58-0003GR-2f for emacs-devel@gnu.org; Mon, 09 Jun 2008 12:18:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5k57-0003Er-Ae for emacs-devel@gnu.org; Mon, 09 Jun 2008 12:18:53 -0400 Original-Received: from [199.232.76.173] (port=57470 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5k56-0003Ee-Vg for emacs-devel@gnu.org; Mon, 09 Jun 2008 12:18:53 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:4491 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K5k56-0006Zw-FP for emacs-devel@gnu.org; Mon, 09 Jun 2008 12:18:52 -0400 Original-Received: (qmail 89697 invoked by uid 3782); 9 Jun 2008 16:18:50 -0000 Original-Received: from acm.muc.de (pD9E23E6E.dip.t-dialin.net [217.226.62.110]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 09 Jun 2008 18:18:48 +0200 Original-Received: (qmail 8395 invoked by uid 1000); 9 Jun 2008 16:41:03 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:98807 Archived-At: Hi, Eli! On Sun, Jun 08, 2008 at 10:25:11PM +0300, Eli Zaretskii wrote: > > From: Glenn Morris > > Cc: Alan Mackenzie , Eli Zaretskii , emacs-devel@gnu.org > > Date: Sun, 08 Jun 2008 15:03:07 -0400 > > Stefan Monnier wrote: > > > I think it should be easy to generate the dependencies from > > > bytecomp.el (just record macros as we expand them, and then try and > > > figure out which file they come from). This way they could be kept > > > uptodate 100% automatically. > > What exactly is the point of doing this supposed to be? > > To make non-bootstrap builds more reliable? > To make dependencies between Lips files explicit in lisp/Makefile.in, > and thus causing Make to compile Lisp files in the right order. Right > now, whenever some Lisp files change, I frequently need to "make > recompile" several times, sometimes removing stale *.elc files > manually, until it finally succeeds, because it basically compiles them > in a random order. OK, let me propose a test of this future dependency generator. It must determine that a change to cc-langs.el requires cc-{mode,engine}.el to be recompiled. -- Alan Mackenzie (Nuremberg, Germany).