From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Broken lisp/Makefile.w32-in Date: Tue, 24 Sep 2002 14:03:13 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200209241803.g8OI3DN07232@rum.cs.yale.edu> References: <20020922142329.B384.LEKTU@terra.es> <20020924182444.DC45.LEKTU@terra.es> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032890751 22101 127.0.0.1 (24 Sep 2002 18:05:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 24 Sep 2002 18:05:51 +0000 (UTC) Cc: emacs-devel@gnu.org, Andrew Innes , Eli Zaretskii Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17tu4E-0005kL-00 for ; Tue, 24 Sep 2002 20:05:50 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17tul6-000840-00 for ; Tue, 24 Sep 2002 20:50:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tu4G-0006ZD-00; Tue, 24 Sep 2002 14:05:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17tu1n-0006FQ-00 for emacs-devel@gnu.org; Tue, 24 Sep 2002 14:03:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17tu1l-0006El-00 for emacs-devel@gnu.org; Tue, 24 Sep 2002 14:03:19 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tu1l-0006Ck-00; Tue, 24 Sep 2002 14:03:17 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g8OI3DN07232; Tue, 24 Sep 2002 14:03:13 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Juanma Barranquero Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8151 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8151 > Another problem with lisp/Makefile.w32-in and bootstraping. > > After nmake bootstrap, the DONTCOMPILE files are compiled. > > This can cause problems. For example, eshell/esh-maint.el gets compiled > and then during compilation the eshell/*.el files include esh-maint.elc; > at run-time they crash because `assert' and other functions from cl-macs > are not defined. > > AFAIK, this happens also in EMACS_21_1_RC. > > lisp/makefile.w32-in has these lines: > > $(DONTCOMPILE:.el=.elc): > -$(DEL) $@ > > but I'm not sure if they're a leftover from lisp/makefile.in. > > I don't see any easy way to keep the DONTCOMPILE files from being > compiled. Deleting the .elc afterwards would be easier, but that doesn't > work. > > Any ideas? Check out the end of loaddefs.el. There's a `no-byte-compile' local variable that you can set in the `local variables' section. It's much better than DONTCOMPILE. Stefan