This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] GNU/k*BSD support (with ChangeLog) for gcc


On Tue, Mar 16, 2004 at 10:06:58PM +0100, Robert Millan wrote:
> Yes. __FreeBSD__ implies a FreeBSD kernel, but it does also imply FreeBSD
> userland and, most importantly, FreeBSD linker and FreeBSD C library.
> Thus, it is reasonable that many programs use __FreeBSD__ to check for
> FreeBSD C library or FreeBSD dynamic linker.
> 
> 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.

Hi Robert,

I'm sorry, but I still don't see the need for an additional symbol to
__FreeBSD__.  Can you show a small example of why it is needed?

Thanks,
-- 
-- David  (obrien@FreeBSD.org)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]