This is the mail archive of the
mailing list for the GCC project.
Re: [C++] include directory configury
- To: Alex Samuel <samuel at codesourcery dot com>
- Subject: Re: [C++] include directory configury
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Sat, 3 Feb 2001 01:14:35 -0800 (PST)
- cc: samuel at codesourcery dot com, gcc-patches at gcc dot gnu dot org
> Do you mean, when do you move the installed compiler to another place?
> For instance when you install it from a relocatable RPM.
am I ever busted........
> Benjamin> then perhaps both gcc_gxx_include_dir and
> Benjamin> gcc_gxx_target_include_dir should use the same variable
> Benjamin> for the common bits.
> Unfortunately, the parallel ugly expression for gcc_gxx_include_dir is
> generated by configure, if you don't specify --with-gxx-include-dir
> (otherwise it uses whatever path you specify).
Hmm. My point being that the target includes are installed in the same
place in this case. See src/Makefile.am:
# Check for various configure bits that change where the headers get
myincludep = @gxx_include_dir@
targetincludep = @gxx_include_dir@
myincludep = $(libdir)/gcc-lib/$(target_alias)/@gcc_version@/include/g++
targetincludep = $(libdir)/gcc-lib/$(target_alias)/@gcc_version@/include/g++
myincludep = $(prefix)/include/g++-@libstdcxx_interface@
targetincludep = @gxx_target_include_dir@
See what I mean?