Subject: Re: should GCC_REQD+=3.0 should pull in gcc 3.4 not gcc 3.3
To: None <tech-pkg@netbsd.org>
From: Raymond Meyer <raymond.meyer@rambler.ru>
List: tech-pkg
Date: 09/14/2006 18:55:40
On Thu, 14 Sep 2006 17:55:46 +0100 (BST)
David Brownlee <abs@NetBSD.org> wrote:

> On Thu, 14 Sep 2006, Julio M. Merino Vidal wrote:
> 
> > On 9/14/06, David Brownlee <abs@absd.org> wrote:
> >>         currently emulators/qemu has GCC_REQD+=3.0 to ensure it uses
> >>         pkgsrc gcc3 on NetBSD-4 (as qemu does not build under gcc4).
> >
> > This is a hack that will break when pkgsrc gets a gcc4 package...
> 
>  	Agreed, though that is somewhat orthogonal to my question :)
> 
> >>         This will pull in lang/gcc3, but surely it would make more sense
> >>         to pull in lang/gcc34 in this case?
> >
> > Why?  gcc3-c should be much faster to build than gcc34 due to its
> > modularity (assuming the hack is picking gcc3-c and not the gcc3
> > package).  Haven't tested it personally.
> 
>  	OK, so for a more appropriate question:
> 
>  	"Should we have a gcc34-c package, or should gcc3-c be updated to
>  	be based on gcc-3.4 rather than gcc-3.3" ?
> 
> -- 
>  		David/absolute       -- www.NetBSD.org: No hype required --

I'm using pkgsrc on Solaris and I've stopped using lang/gcc* packages full
stop. Instead I build the latest gcc by hand, install it into /opt/gcc4 and
tell pkgsrc to use native gcc.