emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken lisp/Makefile.w32-in


From: Stefan Monnier
Subject: Re: Broken lisp/Makefile.w32-in
Date: Tue, 24 Sep 2002 14:03:13 -0400

> <sigh> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]