This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: The default C++ headers install place


Ian Lance Taylor wrote:

[adding gcc-patches]

> @item --with-gxx-include-dir=@var{dirname}
> Specify
> the installation directory for G++ header files.  The default is
> @file{@var{prefix}/include/c++/@var{version}}.
> 
> and that is incorrect.  Personally, I would be fine with something like
> "the default depends upon how gcc was configured."

I agree.

For the benefit of gcc-patches, it was pointed out on gcc-help that the
description of the default directory used by --with-gxx-include-dir is
incorrect.  The actual default is computed by a complex bit of configury
code, so stating it clearly -- let alone keeping it up to date -- in the
manual is hard.  If you don't care, use the default; if you do care, you
ought not to rely on the default.

I checked in this patch to eliminate the false information, in favor of
vaguer words along the lines that Ian suggested, after testing that I
could still build the documentation and that it looked OK.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
2009-04-12  Mark Mitchell  <mark@codesourcery.com>

	* doc/install.texi: Correct description of default directory for
	--with-gxx-include-dir.

Index: doc/install.texi
===================================================================
--- doc/install.texi	(revision 145990)
+++ doc/install.texi	(working copy)
@@ -720,8 +720,9 @@ manual.)
 
 @item --with-gxx-include-dir=@var{dirname}
 Specify
-the installation directory for G++ header files.  The default is
-@file{@var{prefix}/include/c++/@var{version}}.
+the installation directory for G++ header files.  The default depends
+on other configuration options, and differs between cross and native
+configurations.
 
 @end table
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]