Subject: Re: gcc3's cpp not defining __GNUC__
To: Martin Husemann <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 07/21/2003 08:11:35
On Mon, 21 Jul 2003, Martin Husemann wrote:

> On Mon, Jul 21, 2003 at 09:33:32AM +1000, grant beattie wrote:
> > seems reasonable if it works.
> I think it is not enough. The pkg gcc should mimic the to-be-integrated gcc
> as far as possible. So -gcc should be default for CPP.

I think it's an excellent idea to stay in sync with whatever the
in-tree gcc does, but it hasn't been established that the in-tree gcc
will do that, not at all (nor can it be by any consensus on *this*
mailing list). In general, diverging in ways that have nothing to do
with porting is frowned on. I'm also fairly certain that gcc's
behaviour in this regard isn't an accident, so software that only
builds with hacked gcc-3.3* doesn't really build with gcc-3.3*, so a
change in this area by NetBSD would be especially egregious, and it
could make NetBSD less attractive as a development platform.