Subject: Re: anyone use lang/gcc3-c and lang/gcc3-c++ as only compilers?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 02/03/2004 04:00:11
On Mon, Feb 02, 2004 at 02:24:50PM -0800, Jeremy C. Reed wrote:
> Does anyone use lang/gcc3-c and lang/gcc3-c++ as their only cc and c++
> compilers?

I do (now).

> How is it working with latest pkgsrc?

The support for using these packages just freshly added to
bsd.compiler.mk.  I haven't experienced problems yet, but my testing
has been very limited to only a small set of packages.  The latest
pkgsrc only pulls in dependencies for the compilers that it needs, so
if you are only building C software, then you won't be required to
have a C++ compiler installed.

> Or am I the only one?
> 
> (I hope not, because it is redundant to require multiple installations of
> GCC.)

I'm not sure what you mean by "multiple installations of GCC".  If you
are requiring all of pkgsrc to be built using gcc3-*, then I recommend
adding 'GCC_REQD+= 3.3' to your /etc/mk.conf.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>