Difference between revisions of "Clang"

From ArchWiki
Jump to: navigation, search
(rm gap, categorize and (hopefully) adjust to ArchWiki style)
Line 1: Line 1:
Clang is a compiler set based on LLVM. It is distributed under BSD Licence.
+
[[Category:Package development]]
 +
[http://clang.llvm.org/ Clang] is a compiler set based on LLVM. It is distributed under BSD Licence.
 +
== Installation ==
 +
Install {{pkg|clang}} form the [[Official Repositories]].
  
 
+
== Build packages with Clang ==
== Install ==
+
Add {{ic|1=export CC=clang}} to your {{ic|/etc/makepkg.conf}}.
Clang is in [extra] repository. You can install it by running
+
  pacman -S clang
+
 
+
== using Clang to build your packages ==
+
You can edit you /etc/makepkg.conf and add a line
+
  export CC=clang
+

Revision as of 02:10, 4 November 2012

Clang is a compiler set based on LLVM. It is distributed under BSD Licence.

Installation

Install clang form the Official Repositories.

Build packages with Clang

Add export CC=clang to your /etc/makepkg.conf.