Subject: Re: lang/perl5 on IRIX
To: None <tech-pkg@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: tech-pkg
Date: 12/03/2006 20:16:20
Jan Schaumann wrote:
> Christian Biere <christianbiere@gmx.de> wrote:
> > The build actually succeed after setting CC to gcc in mk.conf.
> > PKGSRC_COMPILER is correctly set to gcc. I suspect my symlink
> > cc -> gcc confuses some packages which derive false assumptions
> > from the name of the executable.
 
> I believe it's a very common setup to have cc symlinked to gcc.  The
> IRIX freeware package for gcc provides this link, too.  Maybe we should
> check for this during bootstrap process and if found set CC in mk.conf?

I think it would be best if pkgsrc always set CC to "gcc" if GCC is used
using a symlink or some such i.e., doing the opposite of cc -> gcc.

-- 
Christian