aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorDmitry Antipov2014-05-13 15:12:05 +0400
committerDmitry Antipov2014-05-13 15:12:05 +0400
commitbd098f41af3d0201d6b8156ecb577dbff53fa50c (patch)
tree1e78f6c3afaaa4160f91fbf8b5aacb689b6a79b8 /INSTALL
parent001da405b606c58b45e3526af8fadad39a6c4dbf (diff)
downloademacs-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--INSTALL17
1 files changed, 11 insertions, 6 deletions
diff --git a/INSTALL b/INSTALL
index 496c6c8c376..3502631cbcf 100644
--- a/INSTALL
+++ b/INSTALL
@@ -331,12 +331,17 @@ and is useful with GNU-compatible compilers. On a recent GNU system
331there should be no warnings; on older and on non-GNU systems the 331there should be no warnings; on older and on non-GNU systems the
332generated warnings may still be useful. 332generated warnings may still be useful.
333 333
334Use --enable-link-time-optimization to enable link-time optimizer, which 334Use --enable-link-time-optimization to enable link-time optimizer. If
335is available in GNU compiler since version 4.5.0. If your compiler is not 335you're using GNU compiler, this feature is supported since version 4.5.0.
336GNU or older than version 4.5.0, this option does nothing. If `configure' 336If `configure' can determine number of online CPUS on your system, final
337can determine number of online CPUS on your system, final link-time 337link-time optimization and code generation is executed in parallel using
338optimization and code generation is executed in parallel using one job 338one job per each available online CPU.
339per each available online CPU. 339
340This option is also supported for clang. You should have GNU binutils
341with `gold' linker and plugin support, and clang with LLVMgold.so plugin.
342Read http://llvm.org/docs/GoldPlugin.html for details. Also note that
343this feature is still experimental, so prepare to build binutils and
344clang from the corresponding source code repositories.
340 345
341The `--prefix=PREFIXDIR' option specifies where the installation process 346The `--prefix=PREFIXDIR' option specifies where the installation process
342should put emacs and its data files. This defaults to `/usr/local'. 347should put emacs and its data files. This defaults to `/usr/local'.