Difference between revisions of "Clang"

From ArchWiki
Jump to: navigation, search
(Created page with "Clang is a compiler set based on LLVM. It is distributed under BSD Licence.")
 
(Build packages with Clang)
(2 intermediate revisions by 2 users not shown)
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 ==
 +
Add {{ic|1=export CC=clang}} and (for c++) {{ic|1=export CXX=clang++}} to your {{ic|/etc/makepkg.conf}}.

Revision as of 15:43, 18 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 and (for c++) export CXX=clang++ to your /etc/makepkg.conf.