This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] GNU/k*BSD support (with ChangeLog) for gcc
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: zeratul2 at wanadoo dot es
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 18 Mar 2004 21:16:16 -0600 (CST)
- Subject: Re: [PATCH] GNU/k*BSD support (with ChangeLog) for gcc
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
>> > 2004-03-15 Robert Millan <firstname.lastname@example.org>
>> > * config/freebsd-spec.h: Define __FreeBSD_kernel__.
> [...] Our system, however, uses GNU libc and not FreeBSD libc. The
> only component it shares with FreeBSD is the kernel. Therefore, we
> need a new macro for the kernel, that can be shared with pure
> FreeBSD systems, but is not tied to other userland components like
> __FreeBSD__ is.
Then, I must reject that thunk of your patch. Main reason:
As posted, your patch has __FreeBSD_kernel__ just mirroring
__FreeBSD__ . I.e. it does nothing extra for you; at least, not the
Before you try: No patch which disables __FreeBSD__ from appearing on
FreeBSD will likely be accepted (the bar is this: get the system
compiler guys to accept a new macro scheme before we will pull it into
the FSF tree). In usage I've seen, that symbol implies little about
libc. Doesn't glibc already define extra symbols in its own headers?