This is the mail archive of the gcc@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: Installation of libstdc++-v3 headers


>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


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