diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-04-07 20:52:27 +0000 |
---|---|---|
committer | Ralf Wildenhues <rwild@gcc.gnu.org> | 2010-04-07 20:52:27 +0000 |
commit | 2d413304b045a93932e993fdf857241d7623696b (patch) | |
tree | 33145118a96095451cd46c6fbf88a09f726af7e2 /gcc | |
parent | 7a50adb78fc252c3fcd01ca0f199b8ec914c3f67 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/install.texi | 47 |
2 files changed, 27 insertions, 24 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7697cec..6f2b7e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. 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 |