aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-04-07 20:52:27 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2010-04-07 20:52:27 +0000
commit2d413304b045a93932e993fdf857241d7623696b (patch)
tree33145118a96095451cd46c6fbf88a09f726af7e2 /gcc/doc
parent7a50adb78fc252c3fcd01ca0f199b8ec914c3f67 (diff)
downloadgcc-2d413304b045a93932e993fdf857241d7623696b.zip
gcc-2d413304b045a93932e993fdf857241d7623696b.tar.gz
gcc-2d413304b045a93932e993fdf857241d7623696b.tar.bz2
Move LTO build option description to correct subheading.
gcc/: * doc/install.texi (Configuration): Move description of --enable-lto, --with-libelf*, --enable-gold from Java section to general section. From-SVN: r158089
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/install.texi47
1 files changed, 23 insertions, 24 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 0db368b..a0fadd8 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1633,6 +1633,29 @@ static data members and inline function local statics. Enabled by
default for a native toolchain with an assembler that accepts it and
GLIBC 2.11 or above, otherwise disabled.
+@item --enable-lto
+Enable support for link-time optimization (LTO). This is enabled by
+default if a working libelf implementation is found (see
+@option{--with-libelf}).
+
+@item --with-libelf=@var{pathname}
+@itemx --with-libelf-include=@var{pathname}
+@itemx --with-libelf-lib=@var{pathname}
+If you do not have libelf installed in a standard location and you
+want to enable support for link-time optimization (LTO), you can
+explicitly specify the directory where libelf is installed
+(@samp{--with-libelf=@var{libelfinstalldir}}). The
+@option{--with-libelf=@var{libelfinstalldir}} option is shorthand for
+@option{--with-libelf-include=@var{libelfinstalldir}/include}
+@option{--with-libelf-lib=@var{libelfinstalldir}/lib}.
+
+@item --enable-gold
+Enable support for using @command{gold} as the linker. If gold support is
+enabled together with @option{--enable-lto}, an additional directory
+@file{lto-plugin} will be built. The code in this directory is a
+plugin for gold that allows the link-time optimizer to extract object
+files with LTO information out of library archives. See
+@option{-flto} and @option{-fwhopr} for details.
@end table
@subheading Cross-Compiler-Specific Options
@@ -1914,30 +1937,6 @@ Use the @code{WCHAR} and Win32 W functions natively. Does @emph{not}
add @code{-lunicows} to @file{libgcj.spec}. The built executables will
only run on Microsoft Windows NT and above.
@end table
-
-@item --enable-lto
-Enable support for link-time optimization (LTO). This is enabled by
-default if a working libelf implementation is found (see
-@option{--with-libelf}).
-
-@item --with-libelf=@var{pathname}
-@itemx --with-libelf-include=@var{pathname}
-@itemx --with-libelf-lib=@var{pathname}
-If you do not have libelf installed in a standard location and you
-want to enable support for link-time optimization (LTO), you can
-explicitly specify the directory where libelf is installed
-(@samp{--with-libelf=@var{libelfinstalldir}}). The
-@option{--with-libelf=@var{libelfinstalldir}} option is shorthand for
-@option{--with-libelf-include=@var{libelfinstalldir}/include}
-@option{--with-libelf-lib=@var{libelfinstalldir}/lib}.
-
-@item --enable-gold
-Enable support for using @command{gold} as the linker. If gold support is
-enabled together with @option{--enable-lto}, an additional directory
-@file{lto-plugin} will be built. The code in this directory is a
-plugin for gold that allows the link-time optimizer to extract object
-files with LTO information out of library archives. See
-@option{-flto} and @option{-fwhopr} for details.
@end table
@subsubheading AWT-Specific Options