This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -Dgnu_{linux,hurd}
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Christopher Faylor <cgf at redhat dot com>, Zack Weinberg <zack at codesourcery dot com>
- Cc: "gcc-bugs at gcc dot gnu dot org" <gcc-bugs at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 15 Apr 2002 12:08:10 -0700
- Subject: Re: -Dgnu_{linux,hurd}
- References: <Pine.LNX.4.33.0204132147050.22725-100000@kern.srcf.societies.cam.ac.uk> <71350000.1018731398@gandalf.codesourcery.com><20020414064929.GB3867@codesourcery.com> <20020415190654.GA14813@redhat.com>
--On Monday, April 15, 2002 03:06:54 PM -0400 Christopher Faylor
<cgf@redhat.com> wrote:
> On Sat, Apr 13, 2002 at 11:49:29PM -0700, Zack Weinberg wrote:
>> On Sat, Apr 13, 2002 at 01:56:38PM -0700, Mark Mitchell wrote:
>>> --On Saturday, April 13, 2002 09:52:49 PM +0100 "Joseph S. Myers"
>>> <jsm28@cam.ac.uk> wrote:
>>> >
>>> > How about also getting rid of all nonreserved predefined symbols, on
>>> > the mainline? (And deprecating them in the 3.1 release notes.)
>>> > Users have known since 1989 that symbols in the reserved namespaces
>>> > should be used, e.g. __unix__ not unix.
>>>
>>> I agree with this suggestion.
>>
>> Patch follows. Bootstrapping now. The long, boring part has been
>> gzipped to fit under the message size limit. I updated a few
>> old-syntax -A switches while I was at it.
>>
>> Let's have only __gnu_{linux,hurd}__ in 3.1, since they are new.
>
> We don't have an option as far as Windows is concerned. We really do
> need to define WINNT, _cdecl, and _stdcall if we want to continue
> to build Windows apps.
Ah, good point. Zack's doing some other updating of the patch anyhow,
so I think that taking out these changes shouldn't be too hard.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com