Re: The default C++ headers install place

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

 



Mark Mitchell <mark@xxxxxxxxxxxxxxxx> 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 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