ubuntu 12.04 clang 3.4 설치
3446 단어 ubuntu 12.04
1.clang 원본 추가
deb http://llvm.org/apt/precise/ llvm-toolchain-precise main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise main
# 3.4
deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main
# 3.5
deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main
# Common
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main
2.공통 키 추가
gpg --keyserver wwwkeys.pgp.net --recv-keys 1E9377A2BA9EF27F
gpg --export -a 1E9377A2BA9EF27F > /tmp/key
sudo apt-key add /tmp/key
3.업데이트 소스
sudo apt-get update
4.설치
apt-get install clang-3.4 lldb-3.4
apt-get install clang-3.4 clang-3.4-doc libclang-common-3.4-dev libclang-3.4-devlibclang1-3.4 libclang1-3.4-dbg libllvm-3.4-ocaml-dev libllvm3.4 libllvm3.4-dbg lldb-3.4 llvm-3.4 llvm-3.4-dev llvm-3.4-doc llvm-3.4-examples llvm-3.4-runtime clang-modernize-3.4 clang-format-3.4 python-clang-3.4 lldb-3.4-dev
5.컴 파일 된 라 이브 러 리 를 완성 하거나 직접 다운로드
http://llvm.org/releases/download.html