From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: please make byte compiling during bootstrap take advantage of make -j Date: Thu, 08 May 2008 13:30:01 +0300 Message-ID: References: <200805041735.m44HZbxS018196@sallyv1.ics.uci.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1210242725 30602 80.91.229.12 (8 May 2008 10:32:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2008 10:32:05 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, dann@ics.uci.edu To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 08 12:32:40 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ju3QU-0001WU-1z for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 May 2008 12:32:38 +0200 Original-Received: from localhost ([127.0.0.1]:60647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ju3Pl-00080L-QI for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 May 2008 06:31:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ju3PN-0007iP-HY for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 06:31:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ju3PK-0007gD-B6 for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 06:31:26 -0400 Original-Received: from [199.232.76.173] (port=33640 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ju3PJ-0007g1-3G for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 06:31:25 -0400 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:53085) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ju3P3-0000j3-GR; Thu, 08 May 2008 06:31:14 -0400 Original-Received: from HOME-C4E4A596F7 ([83.130.255.47]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K0J00CC3PU2CFH0@i-mtaout1.012.net.il>; Thu, 08 May 2008 13:44:26 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17935 Archived-At: > From: Glenn Morris > Cc: bug-gnu-emacs@gnu.org, dann@ics.uci.edu > Date: Wed, 07 May 2008 18:33:41 -0400 > > Eli Zaretskii wrote: > > > And what's wrong with hard-coding them, exactly? > > Just that it's inelegant and more work. Even the directory names > aren't hard-coded at present. We already have similar lists in src/Makefile.in and in leim/Makefile.in, so I don't see a problem with having a full list in lisp/Makefile.in. We don't add files frequently enough to make that a bother, IMO. > So, I envisage: > > 1. A rule run at the end of bootstrap that finds all the .elc files > and updates Makefile.in (yuck; I'd prefer an include file, but it > seems this is not portable either?). Yes, include is non-portable. But I don't think this will work: you need to know the list of files to compile in advance, before the bootstrap. Doing it only after the bootstrap, and relying on .elc files, would be a chicken-and-egg problem, no? I think you can safely have a full list of all .el files, and let the no-byte-compile tag take care of which ones are actually compiled. > 2. The compile targets changed to use the explicit list of .elc files > constructed above. You could use the list of .el files with .el=.elc construct.