Subject: Re: CVS commit: pkgsrc/mk/compiler
To: Roland Illig <>
From: Jonathan Perkin <>
List: tech-pkg
Date: 05/18/2005 15:50:52
* On 2005-05-17 at 20:06 BST, Roland Illig wrote:

> Log Message:
> The sunpro wrapper now creates aliases for gcc and g++, too. This is
> needed because the <> Makefile fragment sets CC?=gcc.

This worries me a little.  I can't help but think there are loads of
badly written configure scripts which see "gcc" and assume it is the
GNU compiler.  Also you'll end up with programs such as libtool hard
coding CC=gcc in them, causing problems when compiling software
outside of pkgsrc using those tools.

We already inform people using sunpro to set CC CXX and CPP explicitly
to avoid this and this appears to work very well.  I can't remember
the reason we don't set these in (Johnny?) but I think that
would be the correct approach for this rather than trying to fake the


Jonathan Perkin                                     The NetBSD Project