c++filt

Dan Nelson dnelson at allantgroup.com
Tue Mar 22 07:40:07 PST 2005


In the last episode (Mar 22), Andrea Venturoli said:
> Dan Nelson wrote:
> >In the last episode (Mar 21), Andrea Venturoli said:
> >>Dan Nelson wrote:
> 
> I'm reverting to the mailing list, since this is possibly getting
> interesting for other people too.
> 
> >>>The change was also committed to the RELENG_5_3 branch after 5.3
> >>>was released, so if you're tracking 5.3-stable, you should be able
> >>>to just cd into /usr/src/gnu/usr.bin/cc/c++filt and run "make ;
> >>>make install".
> >>
> >>Nope. I'm still on 5.3p5 (I usually stuck to releases) and it does
> >>not work. I'll just wait for 5.4; in the meanwhile I'll have to
> >>resort from time to time to that old Debian machine :)
>
> And I'm doing this by means of the following lines in my supfile:
> 
> >*default host=cvsup.it.FreeBSD.org
> >*default base=/usr/local/netfence/etc/cvsup
> >*default prefix=/usr
> > *default release=cvs tag=RELENG_5_3
> > src-all
> 
> Still, if I follow your suggestion, I get an error:
> 
> >/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cp-demangle.c:86:20: config.h: No such file or directory

It looks like gcc and friends need to be built as one unit; config.h
gets built by the cc_tools directory.  Try doing your build from
/usr/src/gnu/usr.bin/cc , and do the regular "make depend ; make ; make
install" series.  The official way to source-upgrade from any version
of FreeBSD to another is to do a full buildworld/ buildkernel/
installkernel/ installworld series (even p# releases, since there may
be security fixes in userland binaries), so trying to build single
binaries after the fact isn't guaranteed to be easy (or work).

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list