aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/PROBLEMS19
1 files changed, 15 insertions, 4 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 55291c1ef82..64cf3485f3f 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -6,12 +6,23 @@ in compiling, installing and running GNU Emacs.
6This may happen if you use a development version of GNU `cpp' from one 6This may happen if you use a development version of GNU `cpp' from one
7of the GCC snapshots between Oct 2000 and Feb 2001, or from a released 7of the GCC snapshots between Oct 2000 and Feb 2001, or from a released
8version of GCC newer than 2.95.2 which was prepared around those 8version of GCC newer than 2.95.2 which was prepared around those
9dates. The preprocessor in those versions expands ".." into ". .", 9dates; similar problems were reported with some snapshots of GCC 3.1
10which breaks relative file names that reference the parent directory. 10around Sep 30 2001. The preprocessor in those versions is
11incompatible with a traditional Unix cpp (e.g., it expands ".." into
12". .", which breaks relative file names that reference the parent
13directory; or inserts TAB characters before lines that set Make
14variables).
11 15
12The solution is to make sure the preprocessor is run with the 16The solution is to make sure the preprocessor is run with the
13`-traditional' option. (The `configure' script does that 17`-traditional' option. The `configure' script does that automatically
14automatically.) 18when it detects the known problems in your cpp, but you might hit some
19unknown ones. To force the `configure' script to use `-traditional',
20run the script like this:
21
22 CPP='gcc -E -traditional" ./configure ...
23
24(replace the ellipsis "..." with any additional arguments you pass to
25the script).
15 26
16Note that this problem does not pertain to the MS-Windows port of 27Note that this problem does not pertain to the MS-Windows port of
17Emacs, since it doesn't use the preprocessor to generate Makefiles. 28Emacs, since it doesn't use the preprocessor to generate Makefiles.