mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
docs: programming-languages: refresh blurb on clang support
Building the kernel with Clang doesn't rely on third party patches, and has not for a few years now. Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Link: https://lore.kernel.org/r/20200929211936.580805-1-ndesaulniers@google.com [jc: Took out duplicated "docs" pointed out by Randy] Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
committed by
Jonathan Corbet
parent
f42182945d
commit
905705a8fd
@@ -6,14 +6,15 @@ Programming Language
|
|||||||
The kernel is written in the C programming language [c-language]_.
|
The kernel is written in the C programming language [c-language]_.
|
||||||
More precisely, the kernel is typically compiled with ``gcc`` [gcc]_
|
More precisely, the kernel is typically compiled with ``gcc`` [gcc]_
|
||||||
under ``-std=gnu89`` [gcc-c-dialect-options]_: the GNU dialect of ISO C90
|
under ``-std=gnu89`` [gcc-c-dialect-options]_: the GNU dialect of ISO C90
|
||||||
(including some C99 features).
|
(including some C99 features). ``clang`` [clang]_ is also supported, see
|
||||||
|
docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
|
||||||
|
|
||||||
This dialect contains many extensions to the language [gnu-extensions]_,
|
This dialect contains many extensions to the language [gnu-extensions]_,
|
||||||
and many of them are used within the kernel as a matter of course.
|
and many of them are used within the kernel as a matter of course.
|
||||||
|
|
||||||
There is some support for compiling the kernel with ``clang`` [clang]_
|
There is some support for compiling the kernel with ``icc`` [icc]_ for several
|
||||||
and ``icc`` [icc]_ for several of the architectures, although at the time
|
of the architectures, although at the time of writing it is not completed,
|
||||||
of writing it is not completed, requiring third-party patches.
|
requiring third-party patches.
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
----------
|
----------
|
||||||
|
Reference in New Issue
Block a user