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
This commit is contained in:
Ralf Wildenhues 2010-04-07 20:52:27 +00:00 committed by Ralf Wildenhues
parent 7a50adb78f
commit 2d413304b0
2 changed files with 27 additions and 24 deletions

View file

@ -1,5 +1,9 @@
2010-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/install.texi (Configuration): Move description of
--enable-lto, --with-libelf*, --enable-gold from Java section to
general section.
* doc/generic.texi (Working with declarations)
(Function Properties, C and C++ Trees): Fix typos.
* doc/sourcebuild.texi (Top Level): Likewise.

View file

@ -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