Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2011 15:38:41 +0100
From:      Chris Rees <crees@freebsd.org>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        Garrett Cooper <yanegomi@gmail.com>, freebsd-hackers@freebsd.org, Millan <rmh@debian.org>, Ed Maste <emaste@freebsd.org>, Robert@freebsd.org
Subject:   Re: [PATCH] __FreeBSD_kernel__
Message-ID:  <CADLo83-wkFMtK13Zj_0Vb8Mqb%2BjsaXwS0g7G81xrmg9Jp_0wGg@mail.gmail.com>
In-Reply-To: <20110703103531.4a553271@kan.dnsalias.net>
References:  <CAOfDtXPUxQO1zbnxh8sh%2By7g=d8QaH2svYtEQJ06L4d%2BQKG8VA@mail.gmail.com> <20110702193724.5c55a6c9@kan.dnsalias.net> <20110703020827.GA5763@sandvine.com> <CAGH67wQAv4Tf8HjccN2GZzgD2u1ZrORABtGehxXjeg109%2BRNWQ@mail.gmail.com> <20110703103531.4a553271@kan.dnsalias.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/7/3 Alexander Kabaev <kabaev@gmail.com>:
>
> __linux__ is exactly what __FreeBSD__ is and dies not identify kernel
> but rather Linux as whole OS, whatever that might be these days.
>
> There does not appear to be an universal macro that identifies
> environment as using Linux kernel regardless of the rest of components
> used (say, to identify Android and Ubuntu or something embedded with
> ucLibc as running Linux kernel with different userland
> implementations).

Please-- Linux is not and has never been an OS.

__linux__ applies to the kernel, the OS is called GNU/Linux.

Call me pedantic, but that was a nonsensical statement.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-wkFMtK13Zj_0Vb8Mqb%2BjsaXwS0g7G81xrmg9Jp_0wGg>