From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: bootstrap compiles C files twice Date: Mon, 02 Jun 2008 23:20:07 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212463332 4697 80.91.229.12 (3 Jun 2008 03:22:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2008 03:22:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 03 05:22:54 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 1K3N6q-0008Cp-1q for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2008 05:22:52 +0200 Original-Received: from localhost ([127.0.0.1]:53826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3N63-0001dH-Kf for ged-emacs-devel@m.gmane.org; Mon, 02 Jun 2008 23:22:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3N5z-0001bo-S7 for emacs-devel@gnu.org; Mon, 02 Jun 2008 23:21:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3N5z-0001b6-AA for emacs-devel@gnu.org; Mon, 02 Jun 2008 23:21:59 -0400 Original-Received: from [199.232.76.173] (port=35324 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3N5z-0001az-6a for emacs-devel@gnu.org; Mon, 02 Jun 2008 23:21:59 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:34469) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3N5z-0007BP-1s for emacs-devel@gnu.org; Mon, 02 Jun 2008 23:21:59 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1K3N4B-00072I-MB; Mon, 02 Jun 2008 23:20:07 -0400 X-Spook: NASA War on Terrorism SAPO Syria Croatian CNCIS Commecen X-Ran: yefa)0!=${'v9i((J)9*.pTR|4PEv>B#4}unB2lO5nmNBd3QqsYkCrbz'\}Zw&'R)a,]L_ X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:98271 Archived-At: make bootstrap compiles all thes src/*.c files twice over (at least it does for me). In the top-level Makefile, bootstrap-build does: (cd src; $(MAKE) $(MFLAGS) bootstrap) which compiles them all once, before compiling the lisp files. Then it does: (cd src; $(MAKE) $(MFLAGS) mostlyclean) which deletes temacs, *.o, and some other stuff. Then it does: $(MAKE) $(MFLAGS) all which requires temacs and so causes all the .o files to be rebuilt. (Even if temacs is retained at this point, some time-stamping seems to cause it to need a spurious rebuild, but that is probably a separate issue.) Can anyone explain why `mostlyclean' is called after compiling the lisp files? Things seem to work fine (and obviously more quickly) without doing this. Thanks.