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: Mark Mitchell <mark at codesourcery dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Kai Ruottu <kai dot ruottu at wippies dot com>, "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 27 Mar 2009 16:08:38 -0700
- Subject: Re: The default C++ headers install place
- References: <49CC9B1A.3070308@wippies.com> <m3iqlux6aw.fsf@google.com>
Ian Lance Taylor wrote:
> 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.
The logic is:
if test x${gcc_gxx_include_dir} = x; then
if test x${enable_version_specific_runtime_libs} = xyes; then
gcc_gxx_include_dir='${libsubdir}/include/c++'
else
libstdcxx_incdir='include/c++/$(version)'
if test x$host != x$target; then
libstdcxx_incdir="$target_alias/$libstdcxx_incdir"
fi
gcc_gxx_include_dir="\$(libsubdir)/\$(libsubdir_to_prefix)$libstdcxx_incdir\
"
fi
fi
Do we want to try to describe all that? It seems pretty obscure.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713