diff options
| author | Dmitry Antipov | 2014-05-13 15:12:05 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-05-13 15:12:05 +0400 |
| commit | bd098f41af3d0201d6b8156ecb577dbff53fa50c (patch) | |
| tree | 1e78f6c3afaaa4160f91fbf8b5aacb689b6a79b8 /INSTALL | |
| parent | 001da405b606c58b45e3526af8fadad39a6c4dbf (diff) | |
| download | emacs-bd098f41af3d0201d6b8156ecb577dbff53fa50c.tar.gz emacs-bd098f41af3d0201d6b8156ecb577dbff53fa50c.zip | |
* configure.ac (--enable-link-time-optimization): Add clang support.
* INSTALL: Mention it.
* etc/PROBLEMS: Mention potential problems with
--enable-link-time-optimization and clang on Fedora 20.
Diffstat (limited to 'INSTALL')
| -rw-r--r-- | INSTALL | 17 |
1 files changed, 11 insertions, 6 deletions
| @@ -331,12 +331,17 @@ and is useful with GNU-compatible compilers. On a recent GNU system | |||
| 331 | there should be no warnings; on older and on non-GNU systems the | 331 | there should be no warnings; on older and on non-GNU systems the |
| 332 | generated warnings may still be useful. | 332 | generated warnings may still be useful. |
| 333 | 333 | ||
| 334 | Use --enable-link-time-optimization to enable link-time optimizer, which | 334 | Use --enable-link-time-optimization to enable link-time optimizer. If |
| 335 | is available in GNU compiler since version 4.5.0. If your compiler is not | 335 | you're using GNU compiler, this feature is supported since version 4.5.0. |
| 336 | GNU or older than version 4.5.0, this option does nothing. If `configure' | 336 | If `configure' can determine number of online CPUS on your system, final |
| 337 | can determine number of online CPUS on your system, final link-time | 337 | link-time optimization and code generation is executed in parallel using |
| 338 | optimization and code generation is executed in parallel using one job | 338 | one job per each available online CPU. |
| 339 | per each available online CPU. | 339 | |
| 340 | This option is also supported for clang. You should have GNU binutils | ||
| 341 | with `gold' linker and plugin support, and clang with LLVMgold.so plugin. | ||
| 342 | Read http://llvm.org/docs/GoldPlugin.html for details. Also note that | ||
| 343 | this feature is still experimental, so prepare to build binutils and | ||
| 344 | clang from the corresponding source code repositories. | ||
| 340 | 345 | ||
| 341 | The `--prefix=PREFIXDIR' option specifies where the installation process | 346 | The `--prefix=PREFIXDIR' option specifies where the installation process |
| 342 | should put emacs and its data files. This defaults to `/usr/local'. | 347 | should put emacs and its data files. This defaults to `/usr/local'. |