Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2002 11:35:17 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Mikhail Teterin <mi+mx@aldan.algebra.com>
Cc:        "M. Warner Losh" <imp@village.org>, mi+celsius@aldan.algebra.com, jstocker@tzi.de, current@FreeBSD.ORG
Subject:   Re: C++ troubles continue 
Message-ID:  <20020619183517.54ADB380E@overcee.wemm.org>
In-Reply-To: <200206191257.03898.mi%2Bmx@aldan.algebra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Mikhail Teterin wrote:
> On Wednesday 19 June 2002 12:23 pm, M. Warner Losh wrote:
> = In message: <200206190713.44776.mi+celsius@aldan.algebra.com>
> =             Mikhail Teterin <mi+celsius@aldan.algebra.com> writes:
> = : В╕второбк 18 Червень 2002 11:38 pm, Jan Stocker Вби написалби:
> = : > Do you have cleaned your /usr/include/g++ directory from old gcc files?
> = :
> = : Not until after I sent my e-mail :-) Wouldn't this be worth mentioning in
> = : UPDATING? BTW, even that seems a not enough. When building koffice-kde3,
> = : fabs() is reported unknown, because math.h is only included ifdef WINDOWS
> = : in KDChartTable.h and I had to manually replace std::floor with floor in
> = : KDChartPainter.cpp
> =
> = If someone wants to write me a blurb, I'll stick it in UPDATING.
> 
> But what is the right method? Removing everything from /usr/include/g++,
> that's not present in  /usr/src/contrib/libstdc++/include somewhere?

I often do this:

make buildworld
mv /usr/include /usr/include.old
make installworld

That's a guaranteed way to end up with a clean /usr/include :-)

I do similar things with /usr/lib as well, except mv /usr/lib/* /usr/lib/
compat and then strip out the .a files afterwards.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020619183517.54ADB380E>