Subject: Re: Adding USE_GCC3=yes to /usr/pkg/share/examples/gcc-3.3/mk.conf
To: David Brownlee <abs@NetBSD.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 01/20/2004 20:20:00
On Tue, 20 Jan 2004, David Brownlee wrote:

> On Tue, 20 Jan 2004, Frederick Bruckman wrote:
>
> > On Tue, 20 Jan 2004, David Brownlee wrote:
> >
> > > 	Would anyone object if I added USE_GCC3=yes to
> > > 	/usr/pkg/share/examples/gcc-3.3/mk.conf
> >
> > Doesn't that get you the obsolete gcc-3.3, in "lang/gcc3", rather than
> > gcc-3.3.2 from "lang-gcc-c" &c?
>
> 	I was thinking about the one from the lang/gcc3 package.

Oh, I see. Yes, that makes sense. "lang/gcc3" is evidently not
maintained and falling out of date, though.

>	It would
> 	probably make sense to update lang-gcc-c and lang-gcc-c++ too...

It doesn't look as if the GGC_SHLIB thing would get the dependency on
libstdc++.so.5 correct, in that case.

> 	If I wanted to compile both C & C++ programs in gcc3 then the
> 	'new' way to be to install gcc3-c++ and gcc3-c?

"Maybe", if you don't care about the dependencies. I think what I'm
going to do, once 1.6.2 is released, is rebuild all C packages with
gcc-3.3.2, but the C++ packages with the in-tree compiler.

Frederick