Subject: Re: CC in environment overrides pkgsrc
To: Joerg Sonnenberger <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 09/20/2007 10:53:29
On Thu, 20 Sep 2007, Joerg Sonnenberger wrote:

> On Wed, Sep 19, 2007 at 08:42:20AM -0500, Jeremy C. Reed wrote:
> > I forgot I had CC set to a compiler other than gcc.
> > 
> > So pkgsrc got in a loop:
> What did you set CC to exactly? The logic for deciding if GCC is good
> enough is a bit fragile... Not sure whether the same issues happen for
> !GCC as well.

setenv CC /home/reed/pcc/bin/pcc

I forgot about it and I didn't want it. I want pkgsrc to use its defined 
compiler (which would be my default gcc).

This was on DragonFly if that makes a difference for the cc detection.

  Jeremy C. Reed