all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bootstrap compiles C files twice
@ 2008-06-03  3:20 Glenn Morris
  2008-06-03  5:26 ` Stefan Monnier
  2008-06-03  7:55 ` Jason Rumney
  0 siblings, 2 replies; 19+ messages in thread
From: Glenn Morris @ 2008-06-03  3:20 UTC (permalink / raw)
  To: emacs-devel


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
issue.)

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


Thanks.




^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2008-06-06  9:39 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-03  3:20 bootstrap compiles C files twice Glenn Morris
2008-06-03  5:26 ` Stefan Monnier
2008-06-03 16:14   ` Dan Nicolaescu
2008-06-03  7:55 ` Jason Rumney
2008-06-03 18:26   ` Eli Zaretskii
2008-06-03 18:40     ` Glenn Morris
2008-06-03 19:16       ` Glenn Morris
2008-06-03 20:23       ` Eli Zaretskii
2008-06-03 20:52         ` Dan Nicolaescu
2008-06-04  3:06           ` Eli Zaretskii
2008-06-04  3:14             ` Dan Nicolaescu
2008-06-04  3:57             ` Stefan Monnier
2008-06-04 18:50               ` Eli Zaretskii
2008-06-03 22:18         ` Glenn Morris
2008-06-04  3:15           ` Eli Zaretskii
2008-06-04 19:20             ` Glenn Morris
2008-06-05  3:12               ` Eli Zaretskii
2008-06-05 19:29                 ` Glenn Morris
2008-06-06  9:39                   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.