Installation of libstdc++-v3 headers
Daniel Jacobowitz
drow@mvista.com
Thu Nov 14 10:11:00 GMT 2002
On Thu, Nov 14, 2002 at 12:00:45PM -0600, Benjamin Kosnik wrote:
>
> >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.
If you do not specify enable_version_specific_runtime_libs, or
gxx_include_dir, you should hit it. Do you get a reference to
${libstdcxx_incdir} in libstdc++-v3/Makefile?
Your Make might be putting libstdcxx_incdir into the environment, or
something...
> >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.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gcc
mailing list