How to choose the LLVM version clang is using? -
maybe it's obvious, don't see reply yet:
i seek compile project under ubuntu clang, unfortunately llvm crashing stack dump.
$ clang --version ubuntu clang version 3.0-6ubuntu3 (tags/release_30/final) (based on llvm 3.0) target: i386-pc-linux-gnu thread model: posix
i give llvm 2.9 try, installed it, how can take it? e.g.:
$ ll /usr/bin/llvm-ar* lrwxrwxrwx 1 root root 27 sep 12 16:43 /usr/bin/llvm-ar -> ../lib/llvm-3.1/bin/llvm-ar* lrwxrwxrwx 1 root root 27 may 21 2012 /usr/bin/llvm-ar-2.9 -> ../lib/llvm-2.9/bin/llvm-ar* lrwxrwxrwx 1 root root 27 aug 27 20:31 /usr/bin/llvm-ar-3.0 -> ../lib/llvm-3.0/bin/llvm-ar* lrwxrwxrwx 1 root root 27 aug 28 17:49 /usr/bin/llvm-ar-3.1 -> ../lib/llvm-3.1/bin/llvm-ar* $ ll /usr/bin/clang* -rwxr-xr-x 1 root root 12686228 apr 25 2012 /usr/bin/clang* lrwxrwxrwx 1 root root 5 apr 25 2012 /usr/bin/clang++ -> clang*
clang command exists once, , didn't see command line alternative of take llvm backend. missing something?
clang statically linked llvm, can't separate 2 in sense seek imply here.
what can install clang 2.9 separately, next usual compiler installation instructions, , compile project that.
llvm clang
No comments:
Post a Comment