Installation of libstdc++-v3 headers

Daniel Jacobowitz drow@mvista.com
Thu Nov 14 11:04:00 GMT 2002


On Thu, Nov 14, 2002 at 12:30:43PM -0600, Benjamin Kosnik wrote:
> 
> >Is your /bin/sh bash?  I wonder if this is an ash/bash problem..
> 
> No, it's tcsh. I've tried this on both RH 7.3 and RH 8.x systems, and
> cannot reproduce.

Well, here's the symptom for me, a little more accurately:

Makefile in the _top level_ has this:
% egrep libstdcxx_incdir\|gxx_include bib/Makefile
gxx_include_dir=${prefix}/include/${libstdcxx_incdir}
        "libstdcxx_incdir=$(libstdcxx_incdir)" \
        "gxx_include_dir=$(gxx_include_dir)" \

Note no definition of libstdcxx_incdir.  Then recursive make passes
gxx_include_dir down, and overrides the (correct) version under
libstdc++-v3/Makefile.

Depending on how I invoke make install, sometimes the override happens,
sometimes it doesn't.  I can't reproduce the problem at the moment.  I
think it had something to do with specifying $prefix on the make
install command line.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc mailing list