diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-11-15 12:34:28 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2013-11-15 12:34:28 +0000 |
commit | 75a2bcc07f19c1bc6439e6dab6c1b99281e675a0 (patch) | |
tree | 4fca6cbfcd130cd1d5edfd0854230d19945c43c1 /gcc/doc | |
parent | 9f13879ee894334867240f087b699232395bc36c (diff) | |
download | gcc-75a2bcc07f19c1bc6439e6dab6c1b99281e675a0.zip gcc-75a2bcc07f19c1bc6439e6dab6c1b99281e675a0.tar.gz gcc-75a2bcc07f19c1bc6439e6dab6c1b99281e675a0.tar.bz2 |
acinclude.m4 (GCC_GLIBC_VERSION_GTE_IFELSE): New configure macro.
* acinclude.m4 (GCC_GLIBC_VERSION_GTE_IFELSE): New configure
macro.
* configure.ac: Determine target_header_dir earlier.
(--with-glibc-version): New configure option.
Use GCC_GLIBC_VERSION_GTE_IFELSE in enable_gnu_unique_object,
gcc_cv_libc_provides_ssp and gcc_cv_target_ldbl128 tests.
* configure: Regenerate.
* doc/install.texi (--enable-gnu-unique-object): Don't refer to
native toolchains for default.
(--with-glibc-version): Document.
From-SVN: r204841
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/install.texi | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index fa5d6e5..a8f9f8a 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1751,7 +1751,7 @@ linker for all final links. @var{choice} can be one of @itemx --disable-gnu-unique-object Tells GCC to use the gnu_unique_object relocation for C++ template static data members and inline function local statics. Enabled by -default for a native toolchain with an assembler that accepts it and +default for a toolchain with an assembler that accepts it and GLIBC 2.11 or above, otherwise disabled. @item --enable-lto @@ -1773,6 +1773,18 @@ produce shorter header file paths in diagnostics and dependency output files, but these changed header paths may conflict with some compilation environments. Enabled by default, and may be disabled using @option{--disable-canonical-system-headers}. + +@item --with-glibc-version=@var{major}.@var{minor} +Tell GCC that when the GNU C Library (glibc) is used on the target it +will be version @var{major}.@var{minor} or later. Normally this can +be detected from the C library's header files, but this option may be +needed when bootstrapping a cross toolchain without the header files +available for building the initial bootstrap compiler. + +If GCC is configured with some multilibs that use glibc and some that +do not, this option applies only to the multilibs that use glibc. +However, such configurations may not work well as not all the relevant +configuration in GCC is on a per-multilib basis. @end table @subheading Cross-Compiler-Specific Options |