This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Define __gnu_linux__ and __gnu_hurd__
- From: "David O'Brien" <obrien at FreeBSD dot org>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 13 Apr 2002 13:44:56 -0700
- Subject: Re: PATCH: Define __gnu_linux__ and __gnu_hurd__
- Organization: The NUXI BSD group
- References: <6210000.1018725865@warlock.codesourcery.com>
- Reply-to: obrien at FreeBSD dot org
On Sat, Apr 13, 2002 at 12:24:25PM -0700, Mark Mitchell wrote:
> The FSF has asked us to define __gnu_linux__ (in addition to __linux__)
...
> Index: alpha/linux.h
> ! "-Dgnu_linux Dlinux -Dunix -Asystem=linux -D_LONGLONG -D__alpha__ " \
Did you really mean to pollute the user's namespace? Shouldn't that be
"-D__gnu_linux__" (yes, I know the driver will turn -Dgnu_linux into a
million variations on the theme) It seems a shame to introduce this new
symbol and not follow ANSI-C off the bat.