Mercurial > emacs
changeset 50518:3cb74de71bcd
Initial revision
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Wed, 09 Apr 2003 11:50:50 +0000 |
parents | e287b7a34664 |
children | 1f6682595898 |
files | admin/notes/cpp |
diffstat | 1 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/admin/notes/cpp Wed Apr 09 11:50:50 2003 +0000 @@ -0,0 +1,18 @@ +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.