|
From: | Ken Raeburn |
Subject: | Re: build broken: no defun org-float-time. Who's guilty, and what does he propose? |
Date: | Mon, 7 Sep 2009 13:59:07 -0400 |
On Sep 7, 2009, at 13:42, Eli Zaretskii wrote:
From: "Jan D." <address@hidden> Date: Mon, 7 Sep 2009 12:30:00 +0200Cc: Alan Mackenzie <address@hidden>, "address@hidden" <address@hidden >A make that removed old .elc files and did bootstrap when needed is the ideal solution. The second part is probably very hard.What we need IMO is a way to scan all the *.el files, look for `require', and generate Make dependencies between Lisp files. Then this problem should be gone for good. Any takers?
I just spent part of the last couple of hours thinking over this problem too. Other files could be autoloaded during compilation, and should be listed as dependencies too.
The byte compiler has rather a lot of information available while it's doing its job. Perhaps it could look at the files that were loaded as part of the compilation, and generate a list of dependencies. The byte compiler code itself, and files loaded via loadup.el, would still present a problem; a conservative approach would be to always list all of them as dependencies, though that would lead to excessive rebuilding still.
Ken
[Prev in Thread] | Current Thread | [Next in Thread] |