Re: The default C++ headers install place

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
(650) 331-3385 x713
2009-04-12  Mark Mitchell  <mark@xxxxxxxxxxxxxxxx>

	* 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux