Subject: Re: The correct way to use gcc from pkgsrc?
To: Andy Ruhl <acruhl@gmail.com>
From: Timo Schoeler <timo.schoeler@riscworks.net>
List: netbsd-help
Date: 11/07/2005 14:02:23
> I had a build problem and I decided to build the 3.4 version of gcc
> and try again. What's the correct way to use this?
> 
> In the meantime, I just changed my paths to have /usr/pkg/gcc34/bin
> searched first, which seems to work but doesn't seem like a clean way
> to do this.
> 
> I didn't find anything after searching, but I didn't search very long either.
> 
> Thanks.
> 
> Andy

insert a line saying:

GCC_REQD=3.4

into /etc/mk.conf

HTH,

timo