This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: The default C++ headers install place
- From: Ian Lance Taylor <iant at google dot com>
- To: Kai Ruottu <kai dot ruottu at wippies dot com>
- Cc: "'gcc-help\ at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>, mark at codesourcery dot com
- Date: Fri, 27 Mar 2009 09:46:15 -0700
- Subject: Re: The default C++ headers install place
- References: <49CC9B1A.3070308@wippies.com>
Kai Ruottu <kai.ruottu@wippies.com> writes:
> This has been changed recently but why? The "Install" docs in
> 'gcc.gnu.org' however still says :
>
> --with-gxx-include-dir=dirname
> Specify the installation directory for G++ header files. The default
> is prefix/include/c++/version.
>
> Writing 'make install' in gcc-4.3.3 really didn't do this but put the
> headers into '$prefix/$target/include/c++/$version' ! So they became
> "target and version dependent" instead of the earlier "version
> dependent". Only the '$prefix/include/c++/$version/$target' was that
> target dependent in them...
>
> So now one MUST specify the old default if one wants the build to
> follow the documentation and the old learned convention :(
That only happens when cross-compiling. Right or wrong, the change was
made starting here:
http://gcc.gnu.org/ml/libstdc++/2006-06/msg00053.html
You are quite right that doc/install.texi was not updated to correct the
documented default. I've CC'ed Mark, who made the change.
Ian