The default C++ headers install place

Mark Mitchell mark@codesourcery.com
Mon Apr 13 05:00:00 GMT 2009


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: doc.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090413/c25e1d11/attachment.ksh>


More information about the Gcc-patches mailing list