view admin/notes/cpp @ 83078:fac24544c283

Merged in changes from CVS HEAD Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-146 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-147 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-148 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-149 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-150 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-151 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-152 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-153 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-154 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-155 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-156 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-157 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-158 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-118
author Karoly Lorentey <lorentey@elte.hu>
date Tue, 16 Mar 2004 20:27:22 +0000
parents 695cf19ef79e
children 375f2633d815 c3512b2085a0
line wrap: on
line source

ttn 2003-04-09

we use a C preprocesor not only in the normal compilation of .c files
into object files, but also for creating

	src/Makefile
	lib-src/Makefile

(delimited by comment "start of cpp stuff").  some cpp implementations
insert whitespace in between tokens, which explains the "$(dot)$(dot)"
and "UNEXEC_ALIAS" workarounds for unixoid systems and the bundled
tradcpp/ for vms.  [NOTE: tradcpp/ not yet checked in.]

during makefile creation, the preprocessor symbol NOT_C_CODE is defined.
this should not be defined for normal .c file compilation.

there has been discussion on eliminating this use of cpp and relying
solely on autoconf processing.  rms says to leave it be.

;;; arch-tag: d654291e-9fc8-41b7-ab0c-d3cde842a8e0