diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2003-04-09 11:50:50 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2003-04-09 11:50:50 +0000 |
commit | 564b85ecca79fcf0a003cf55cae0749cc0a1064b (patch) | |
tree | 3212db2482b3ce6365398dbfa4badcf068aadde4 /admin/notes/cpp | |
parent | f8c6b4c23d5ece02b779e1dcda0e13e6dea453e0 (diff) | |
download | emacs-564b85ecca79fcf0a003cf55cae0749cc0a1064b.tar.gz emacs-564b85ecca79fcf0a003cf55cae0749cc0a1064b.tar.bz2 emacs-564b85ecca79fcf0a003cf55cae0749cc0a1064b.zip |
Initial revision
Diffstat (limited to 'admin/notes/cpp')
-rw-r--r-- | admin/notes/cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/admin/notes/cpp b/admin/notes/cpp new file mode 100644 index 00000000000..6815b88cccb --- /dev/null +++ b/admin/notes/cpp @@ -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. |