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.