[Top][All Lists]

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

bootstrap compiles C files twice

From: Glenn Morris
Subject: bootstrap compiles C files twice
Date: Mon, 02 Jun 2008 23:20:07 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

make bootstrap compiles all thes src/*.c files twice over (at least it
does for me).

In the top-level Makefile, bootstrap-build does:

(cd src; $(MAKE) $(MFLAGS) bootstrap)

which compiles them all once, before compiling the lisp files. Then it does:

(cd src; $(MAKE) $(MFLAGS) mostlyclean)

which deletes temacs, *.o, and some other stuff. Then it does:

$(MAKE) $(MFLAGS) all

which requires temacs and so causes all the .o files to be rebuilt.
(Even if temacs is retained at this point, some time-stamping seems to
cause it to need a spurious rebuild, but that is probably a separate

Can anyone explain why `mostlyclean' is called after compiling the
lisp files? Things seem to work fine (and obviously more quickly)
without doing this.


reply via email to

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