diff options
| author | Glenn Morris | 2010-05-26 22:43:27 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-26 22:43:27 -0700 |
| commit | 81ac4f35366bfc525fa6ed89e0b5aaa90a05c902 (patch) | |
| tree | e77b927e7e5fcf2d0ac05bcacb13baa10ed4b285 /etc/PROBLEMS | |
| parent | 11e4d8c0d35ec52819d5ce11176fc1f53b9890e0 (diff) | |
| download | emacs-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/PROBLEMS | 38 |
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 | |||
| 2373 | for your C compiler (CPP="/opt/SUNWspro/bin/cc -E" in the above | 2373 | for your C compiler (CPP="/opt/SUNWspro/bin/cc -E" in the above |
| 2374 | example). | 2374 | example). |
| 2375 | 2375 | ||
| 2376 | *** `configure' fails with ``"junk.c", line 660: invalid input token: 8.elc'' | ||
| 2377 | |||
| 2378 | The final stage of the Emacs configure process uses the C preprocessor | ||
| 2379 | to generate the Makefiles. Errors of this form can occur if the C | ||
| 2380 | preprocessor inserts extra whitespace into its output. The solution | ||
| 2381 | is to find the switches that stop your preprocessor from inserting extra | ||
| 2382 | whitespace, add them to CPPFLAGS, and re-run configure. For example, | ||
| 2383 | this 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". | ||
| 2385 | The 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 | ||
| 2428 | The solution is to remove this line from `etc/fstab'. | 2416 | The solution is to remove this line from `etc/fstab'. |
| 2429 | 2417 | ||
| 2430 | *** Building Emacs with GCC 2.9x fails in the `src' directory. | ||
| 2431 | |||
| 2432 | This may happen if you use a development version of GNU `cpp' from one | ||
| 2433 | of the GCC snapshots between Oct 2000 and Feb 2001, or from a released | ||
| 2434 | version of GCC newer than 2.95.2 which was prepared around those | ||
| 2435 | dates; similar problems were reported with some snapshots of GCC 3.1 | ||
| 2436 | around Sep 30 2001. The preprocessor in those versions is | ||
| 2437 | incompatible with a traditional Unix cpp (e.g., it expands ".." into | ||
| 2438 | ". .", which breaks relative file names that reference the parent | ||
| 2439 | directory; or inserts TAB characters before lines that set Make | ||
| 2440 | variables). | ||
| 2441 | |||
| 2442 | The solution is to make sure the preprocessor is run with the | ||
| 2443 | `-traditional' option. The `configure' script does that automatically | ||
| 2444 | when it detects the known problems in your cpp, but you might hit some | ||
| 2445 | unknown ones. To force the `configure' script to use `-traditional', | ||
| 2446 | run the script like this: | ||
| 2447 | |||
| 2448 | CPP='gcc -E -traditional' ./configure ... | ||
| 2449 | |||
| 2450 | (replace the ellipsis "..." with any additional arguments you pass to | ||
| 2451 | the script). | ||
| 2452 | |||
| 2453 | Note that this problem does not pertain to the MS-Windows port of | ||
| 2454 | Emacs, 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 | ||