public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@zeniv.linux.org.uk>
To: Ariful Islam Shoikot <islamarifulshoikat@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH] docs: reflect equal support for gcc and clang
Date: Tue, 24 Feb 2026 04:59:37 +0000	[thread overview]
Message-ID: <20260224045937.GA1762976@ZenIV> (raw)
In-Reply-To: <20260224031132.14478-1-islamarifulshoikat@gmail.com>

On Tue, Feb 24, 2026 at 09:09:06AM +0600, Ariful Islam Shoikot wrote:
> Update the programming language documentation to reflect that both
> gcc and clang are fully supported compilers.
> 
> Signed-off-by: Ariful Islam Shoikot <islamarifulshoikat@gmail.com>
> ---
>  Documentation/process/programming-language.rst | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/process/programming-language.rst b/Documentation/process/programming-language.rst
> index c18e307ccb56..491138ae17cb 100644
> --- a/Documentation/process/programming-language.rst
> +++ b/Documentation/process/programming-language.rst
> @@ -4,10 +4,11 @@ Programming Language
>  ====================
>  
>  The Linux kernel is written in the C programming language [c-language]_.
> -More precisely, it is typically compiled with ``gcc`` [gcc]_
> -under ``-std=gnu11`` [gcc-c-dialect-options]_: the GNU dialect of ISO C11.
> -``clang`` [clang]_ is also supported; see documentation on
> -:ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
> +More precisely, it is compiled with either ``gcc`` [gcc]_ or
> +``clang`` [clang]_, both of which are fully supported, using

"Fully" is a bit of stretch.  Realistically, if you have x86,
arm/arm64, riscv or s390, it should work.  Beyond that... 

Quite a few architectures are in the "hopefully the resulting kernel
will work" state (ppc, mips) and it runs all the way through "if you
are lucky, it builds" (sparc64, IIRC), some requiring a fork of clang
(openrisc, for example), to "you are SOL, this target doesn't have
even an attempted out-of-tree support" (alpha and parisc, at least).

  reply	other threads:[~2026-02-24  4:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-24  3:09 [PATCH] docs: reflect equal support for gcc and clang Ariful Islam Shoikot
2026-02-24  4:59 ` Al Viro [this message]
2026-02-24  7:52   ` [PATCH v2] docs: clarify gcc and clang support wording Ariful Islam Shoikot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260224045937.GA1762976@ZenIV \
    --to=viro@zeniv.linux.org.uk \
    --cc=islamarifulshoikat@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox