Subject: Re: cc not in path: how to specify?
To: Packages Technical List NetBSD Discussion <tech-pkg@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: tech-pkg
Date: 12/23/2006 12:19:54
Georg Schwarz wrote:
> I bootstrapped with CC set to /usr/local/bin/gcc, which worked fine.  
> However building further packages fails since pkgsrc does not find  
> gcc. What's the best way to tell it where to find it? Put
> CC=/usr/local/bin/gcc in mk.conf?

I think that's fine.

> Should bootstrap have taken care of this?

bootstrap saves only PKGSRC_COMPILER which should be gcc in your case
but not CC. I guess it wouldn't hurt to store CC as well in the example
mk.conf.

-- 
Christian