Subject: Re: gcc3's cpp not defining __GNUC__
To: David Brownlee <abs@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 07/21/2003 09:33:32
On Wed, Jul 16, 2003 at 04:16:38PM +0100, David Brownlee wrote:

> > I think we should be able to set "CPP=${GCC_PREFIX}/bin/cpp -gcc" in
> > ${CONFIGURE_ENV} to get those definitions. That would also avoid the
> > situation where you get the wrong "cpp" from the path.
> 
> 	For my purpose changing gcc-3.3/mk.conf to have
> 		CPP=/usr/pkg/gcc-3.3/bin/cpp -gcc
> 	would be sufficient (in gcc3, gcc3-c, and gcc-c++). Does this seem
> 	generally reasonable?

seems reasonable if it works.

g.