27 |
Note that this problem does not pertain to the MS-Windows port of |
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. |
Emacs, since it doesn't use the preprocessor to generate Makefiles. |
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 |
|
|
43 |
* Building the MS-Windows port with Cygwin GCC can fail. |
* Building the MS-Windows port with Cygwin GCC can fail. |
44 |
|
|
45 |
Emacs may not build using recent Cygwin builds of GCC, such as Cygwin |
Emacs may not build using recent Cygwin builds of GCC, such as Cygwin |