i installed the default version of clang and llvm in my ubuntu 14.04 and it's version 3.4. That's nice, but for some legacy stuff i need version 2.9.
Ideally, i could install both version in parallel and use them with "clang-3.4 test.c" and "clang-2.9 test.c" while choosing which version a plain "clang test.c" refers to by default.
Indeed, the package for "clang" appears to be only 50KB in size, so something is going on.
Question: how can i have several version of clang installed in parallel?
llvm makes binaries for version 2.9 available on its website:
http://llvm.org/releases/download.html#2.9
thanks.
- http://stackoverflow.com/questions/14962192/how-to-choose-the-llvm-version-clang-is-using
- http://askubuntu.com/questions/309786/llvm-and-clang-installation-on-ubuntu
- http://stackoverflow.com/questions/19680533/install-llvm-3-4-on-ubuntu-12-04-lts
– Ade Malsasa Akbar Aug 01 '14 at 15:17