Difference between revisions of "Clang"

From ArchWiki
Jump to: navigation, search
(rm gap, categorize and (hopefully) adjust to ArchWiki style)
(Build packages with Clang)
Line 5: Line 5:
== Build packages with Clang ==
== Build packages with Clang ==
Add {{ic|1=export CC=clang}} to your {{ic|/etc/makepkg.conf}}.
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.


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.