crispy-doom: new package at 5.11.1
[kiss-trunc88.git] / clang / README
blobddef9fb9301a857bc828e4e4b922047ac3a375f1
1 clang
2 ________________________________________________________________________________
4 Clang is a compiler front end for the C, C++, Objective-C and Objective-C++
5 programming languages, as well as the OpenMP, OpenCL, RenderScript, CUDA and
6 HIP frameworks. It uses the LLVM compiler infrastructure as its back end and has
7 been part of the LLVM release cycle since LLVM 2.6.
9 It is designed to act as a drop-in replacement for the GNU Compiler Collection
10 (GCC), supporting most of its compilation flags and unofficial language
11 extensions. Its contributors include Apple, Microsoft, Google, ARM, Sony,
12 Intel and Advanced Micro Devices (AMD). [0]
14 Upstream: https://clang.llvm.org/
17 [000] Index
18 ________________________________________________________________________________
20 * Installation ........................................................... [001]
21 * Setup .................................................................. [002]
22 * Usage .................................................................. [003]
23 * Troubleshooting ........................................................ [004]
24 * References ............................................................. [005]
27 [001] Installation
28 ________________________________________________________________________________
30 +------------------------------------------------------------------------------+
31 |                                                                              |
32 |  $ kiss b clang                                                              |
33 |                                                                              |
34 +------------------------------------------------------------------------------+
37 [002] Setup
38 ________________________________________________________________________________
40 To use clang as the system compiler, set the following environment variables in
41 your .profile or shell runtime configuration file.
43 +------------------------------------------------------------------------------+
44 |                                                                              |
45 |  $ export CC=clang                                                           |
46 |  $ export CXX=clang++                                                        |
47 |                                                                              |
48 +------------------------------------------------------------------------------+
51 [003] Usage
52 ________________________________________________________________________________
54 Refer to the command help output. This package does not yet provide manual
55 pages. Documentation can also be found online.
58 [004] Troubleshooting
59 ________________________________________________________________________________
61 If a package fails to build with clang, open an issue at $/kisslinux/repo
64 [005] References
65 ________________________________________________________________________________
67 [0] https://en.wikipedia.org/wiki/Clang