Subject: Re: should GCC_REQD+=3.0 should pull in gcc 3.4 not gcc 3.3
To: David Brownlee <abs@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 09/14/2006 20:00:27
On 9/14/06, 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 :)

I know, just wanted to make that clear ;)

> >>         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" ?

That sounds like a good idea.  This goes to whoever added gcc34: why
wasn't this done in the first place?  Maybe 3.4 raised more errors
than 3.3 during builds?  That shouldn't be a problem any more since we
are supposed to support 4.0.

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/