aboutsummaryrefslogtreecommitdiffstats
path: root/etc/PROBLEMS
diff options
context:
space:
mode:
authorGlenn Morris2010-05-26 22:43:27 -0700
committerGlenn Morris2010-05-26 22:43:27 -0700
commit81ac4f35366bfc525fa6ed89e0b5aaa90a05c902 (patch)
treee77b927e7e5fcf2d0ac05bcacb13baa10ed4b285 /etc/PROBLEMS
parent11e4d8c0d35ec52819d5ce11176fc1f53b9890e0 (diff)
downloademacs-81ac4f35366bfc525fa6ed89e0b5aaa90a05c902.tar.gz
emacs-81ac4f35366bfc525fa6ed89e0b5aaa90a05c902.zip
Do not preprocess src/Makefile.in.
* configure.in: Do not preprocess src/Makefile.in. (cpp_undefs, CPP_NEED_TRADITIONAL): Remove. (AC_EGREP_CPP): Test no longer needed. * configure: Regenerate. * config.bat: Do not preprocess src/Makefile.in. * make-dist: No more Makefile.c files. * INSTALL, src/README: Makefiles are not preprocessed. * src/Makefile.in, src/autodeps.mk, src/deps.mk, src/ns.mk: Convert comments to Makefile format. * lib-src/Makefile.in (distclean): No more Makefile.c. * src/Makefile.in (bootstrap-clean): No more Makefile.c. * admin/notes/cpp: Remove file. * admin/quick-install-emacs (AVOID): No more Makefile.c files. * etc/PROBLEMS, etc/MACHINES: Remove details of cpp problems which can no longer occur.
Diffstat (limited to 'etc/PROBLEMS')
-rw-r--r--etc/PROBLEMS38
1 files changed, 0 insertions, 38 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index b3cda374c51..65e3920eee3 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -2373,18 +2373,6 @@ The solution is to tell configure to use the correct C preprocessor
2373for your C compiler (CPP="/opt/SUNWspro/bin/cc -E" in the above 2373for your C compiler (CPP="/opt/SUNWspro/bin/cc -E" in the above
2374example). 2374example).
2375 2375
2376*** `configure' fails with ``"junk.c", line 660: invalid input token: 8.elc''
2377
2378The final stage of the Emacs configure process uses the C preprocessor
2379to generate the Makefiles. Errors of this form can occur if the C
2380preprocessor inserts extra whitespace into its output. The solution
2381is to find the switches that stop your preprocessor from inserting extra
2382whitespace, add them to CPPFLAGS, and re-run configure. For example,
2383this error can occur on Solaris 10 when using the Sun Studio compiler
2384``Sun C 5.8'' with its preprocessor CPP="/opt/SUNWspro/bin/cc -E".
2385The relevant switch in this case is "-Xs" (``compile assuming
2386(pre-ANSI) K & R C style code'').
2387
2388** Compilation 2376** Compilation
2389 2377
2390*** Building Emacs over NFS fails with ``Text file busy''. 2378*** Building Emacs over NFS fails with ``Text file busy''.
@@ -2427,32 +2415,6 @@ you are working on the host called `marvin'. Then an entry in the
2427 2415
2428The solution is to remove this line from `etc/fstab'. 2416The solution is to remove this line from `etc/fstab'.
2429 2417
2430*** Building Emacs with GCC 2.9x fails in the `src' directory.
2431
2432This may happen if you use a development version of GNU `cpp' from one
2433of the GCC snapshots between Oct 2000 and Feb 2001, or from a released
2434version of GCC newer than 2.95.2 which was prepared around those
2435dates; similar problems were reported with some snapshots of GCC 3.1
2436around Sep 30 2001. The preprocessor in those versions is
2437incompatible with a traditional Unix cpp (e.g., it expands ".." into
2438". .", which breaks relative file names that reference the parent
2439directory; or inserts TAB characters before lines that set Make
2440variables).
2441
2442The solution is to make sure the preprocessor is run with the
2443`-traditional' option. The `configure' script does that automatically
2444when it detects the known problems in your cpp, but you might hit some
2445unknown ones. To force the `configure' script to use `-traditional',
2446run the script like this:
2447
2448 CPP='gcc -E -traditional' ./configure ...
2449
2450(replace the ellipsis "..." with any additional arguments you pass to
2451the script).
2452
2453Note that this problem does not pertain to the MS-Windows port of
2454Emacs, since it doesn't use the preprocessor to generate Makefiles.
2455
2456*** src/Makefile and lib-src/Makefile are truncated--most of the file missing. 2418*** src/Makefile and lib-src/Makefile are truncated--most of the file missing.
2457*** Compiling wakeup, in lib-src, says it can't make wakeup.c. 2419*** Compiling wakeup, in lib-src, says it can't make wakeup.c.
2458 2420