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.")
 
Line 1: Line 1:
 
Clang is a compiler set based on LLVM. It is distributed under BSD Licence.
 
Clang is a compiler set based on LLVM. It is distributed under BSD Licence.
 +
 +
 +
== Install ==
 +
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 03:38, 3 November 2012

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


Install

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