in egcs?
To: Graeme Cross <gjc@invetech.com.au>
From: Johnny C. Lam <jlam@netbsd.org>
List: netbsd-help
Date: 12/12/2001 21:23:52
On Thu, Dec 13, 2001 at 04:14:20PM +1100, Graeme Cross wrote:
>
> It barks on dynagraph/common/traversal.h because it can not find <bitset>.
> It seems that egcs 1.1.2 (the version of gcc that comes with 1.5.2) doesn't
> have this file.
>
> I am assuming that other people have had this problem and would like to know
> what the easiest solution is that will not come back to haunt me elsewhere.
> Is there a simple patch for this or should I upgrade gcc?
> If I install the gcc package (which is version 2.95.2), will it comfortably
> co-exist (or replace) with the existing egcs installation?
There's no need to upgrade your GCC. You can simply install devel/stlport
and use their headers instead (-I/usr/pkg/include/stlport). STLport
provides a complete set of ANSI C++ headers but works with many compilers
of which egcs-1.1.2 is one.
Cheers,
-- Johnny Lam <jlam@jgrind.org>