diff options
| author | Eli Zaretskii | 2002-01-16 18:21:14 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-01-16 18:21:14 +0000 |
| commit | c93bdf057ac900340f7da530ddf859fd7e81a4ef (patch) | |
| tree | 2614a9edb778a464310fe6d14fee7fdda4c7cb7e | |
| parent | adb92798f785015ea6c9cca506d9e6dc1291ffae (diff) | |
| download | emacs-c93bdf057ac900340f7da530ddf859fd7e81a4ef.tar.gz emacs-c93bdf057ac900340f7da530ddf859fd7e81a4ef.zip | |
Document problems with linking libraries compiled with GCC.
| -rw-r--r-- | etc/PROBLEMS | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 022f2996007..3e17f832c95 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -27,6 +27,19 @@ the script). | |||
| 27 | Note that this problem does not pertain to the MS-Windows port of | 27 | Note that this problem does not pertain to the MS-Windows port of |
| 28 | Emacs, since it doesn't use the preprocessor to generate Makefiles. | 28 | Emacs, since it doesn't use the preprocessor to generate Makefiles. |
| 29 | 29 | ||
| 30 | * Building Emacs with a system compiler fails during link stage. | ||
| 31 | |||
| 32 | This can happen if some of the libraries linked into Emacs were built | ||
| 33 | with GCC, but Emacs itself is being linked with a compiler other than | ||
| 34 | GCC. Object files compiled with GCC might need some helper functions | ||
| 35 | from libgcc.a, the library which comes with GCC, but the system | ||
| 36 | compiler does not instruct the linker to search libgcc.a during the | ||
| 37 | link stage. | ||
| 38 | |||
| 39 | A solution is to link with GCC, like this: | ||
| 40 | |||
| 41 | make CC=gcc | ||
| 42 | |||
| 30 | * Building the MS-Windows port with Cygwin GCC can fail. | 43 | * Building the MS-Windows port with Cygwin GCC can fail. |
| 31 | 44 | ||
| 32 | Emacs may not build using recent Cygwin builds of GCC, such as Cygwin | 45 | Emacs may not build using recent Cygwin builds of GCC, such as Cygwin |