This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Installation of libstdc++-v3 headers
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Michael Matz <matz at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 14 Nov 2002 12:00:45 -0600
- Subject: Re: Installation of libstdc++-v3 headers
- References: <Pine.LNX.4.33.0211141514260.32309-100000@wotan.suse.de>
>I just went to current head for my development, and for the first time
>since some months also tried the C++ part of it with a real install. I
>think it's broken, in that the C++ headers are installed into
>${prefix}/include/ directly instead of into
>${prefix}/include/c++/3.3 .
>But the cc1plus itself _does_ search the .../c++/3.3/ directory. I've
>configured the thing with
>..../configure --prefix=/spec/ra/inst --enable-languages=c,c++,f77
I cannot reproduce this. Why? I've tried installs from the toplevel and
from the libstdc++-v3 build dir, and everything installs fine.
>To fix this, top-level configure.in either needs to do:
>
>gxx_include_dir='${prefix}/include/'"${libstdcxx_incdir}"
>
>or, better to add the AC_SUBST equivalent at the end:
>+s%@libstdcxx_incdir@%${libstdcxx_incdir}%
>
>And of course add a 'libstdcxx_incdir=@libstdcxx_incdir@' at the
>Makefile.in.
Perhaps you or Daniel Jacobowitz can post a patch, and explain to me how
to test it.
thanks,
benjamin