emacs-devel
[Top][All Lists]
Advanced

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

bootstrap-clean


From: Richard Stallman
Subject: bootstrap-clean
Date: Mon, 26 Nov 2001 04:49:00 -0700 (MST)

I just changed bootstrapping not to delete the old Emacs executables.
In the process I noticed this code, in bootstrap-clean in lisp:

bootstrap-clean:
        if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi

In the past, this line was never executed, because ../src/emacs
had always been deleted by this point.

In a sense, my change had an unexpected side benefit.  But it seems
unclean that it depends on having built Emacs before.  It would be
cleaner if bootstrapping were not affected by the previous existence
of src/emacs.

For instance, maybe recompilation of Lisp code could work with no
autoloads at all, by explicitly loading the few files that are used
in compilation.


Meanwhile, bootstrapping compiles all the C files twice just because
of the change in PURESIZE.  In most cases this is unnecessary.  It
could preserve the .o files except for source files that actually use
PURESIZE.  That would make it faster, safely.




reply via email to

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