[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two strange messages while building Emacs on MS-Windows
From: |
Stefan Monnier |
Subject: |
Re: Two strange messages while building Emacs on MS-Windows |
Date: |
Fri, 07 Dec 2012 16:35:51 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> But, why the makefiles don't take care all necessary recompilations?
Several reasons:
- there is no tool that extracts dependencies between Elisp files, so we
don't have the needed dependency data.
- if you try to make such a tool you'll find that we have a lot of
(apparently) circular dependencies.
- unless the dependency management is very clever, it will tend to
recompile everything whenever a change is made to one of the
"core" files. E.g.: the .elc files depend on bytecomp.elc.
bytecomp.elc is generated from the "emacs" executable which required
many elisp files like subr.el(c), mule.el(c), help.el(c), so any
change to one of these files causes generation of a new "emacs"
executable, which in turn would cause recompilation of bytecomp.elc
and (pretty much) all other .elc files.
So the "naive right way" quickly degenerates to something very close to
"make bootstrap". But in 99% of the cases, only the modified files
require recompilation, so the default is to be incorrect.
Hopefully, at some point, we'll be able to do better.
Stefan
- Two strange messages while building Emacs on MS-Windows, Dani Moncayo, 2012/12/07
- Re: Two strange messages while building Emacs on MS-Windows, Glenn Morris, 2012/12/07
- Re: Two strange messages while building Emacs on MS-Windows, Glenn Morris, 2012/12/07
- Re: Two strange messages while building Emacs on MS-Windows, Dani Moncayo, 2012/12/07
- Re: Two strange messages while building Emacs on MS-Windows,
Stefan Monnier <=
- Re: Two strange messages while building Emacs on MS-Windows, Eli Zaretskii, 2012/12/07
- Re: Two strange messages while building Emacs on MS-Windows, Dani Moncayo, 2012/12/07
- Re: Two strange messages while building Emacs on MS-Windows, Stefan Monnier, 2012/12/07
- Re: Two strange messages while building Emacs on MS-Windows, Eli Zaretskii, 2012/12/08
- Re: Two strange messages while building Emacs on MS-Windows, Dani Moncayo, 2012/12/08
- Re: Two strange messages while building Emacs on MS-Windows, Eli Zaretskii, 2012/12/08
- Re: Two strange messages while building Emacs on MS-Windows, Stefan Monnier, 2012/12/08
- Re: Two strange messages while building Emacs on MS-Windows, Eli Zaretskii, 2012/12/08
- Re: Two strange messages while building Emacs on MS-Windows, Stefan Monnier, 2012/12/09
- Re: Two strange messages while building Emacs on MS-Windows, Óscar Fuentes, 2012/12/09