This is the mail archive of the gcc-help@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


Mark Mitchell <mark@codesourcery.com> writes:

> 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.

Well, right now it says:

@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."

Ian


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