Subject: Re: gcc3's cpp not defining __GNUC__
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: Todd Vierling <firstname.lastname@example.org>
Date: 07/21/2003 11:51:13
On Mon, 21 Jul 2003, Jaromir Dolecek wrote:
: > 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
: I'd not be surprised if linux et.al. defaulted to -gcc for
: gcc 3.3 cpp actually. Anyone can check?
No, it does not. But it certainly defines i386, linux, __gnu_linux__,
__ELF__, __GXX_ABI_VERSION, and a host of others.
-- Todd Vierling <email@example.com>