Home > Uncategorized > Alternatives for clang

Alternatives for clang

In Ubuntu, installing clang-3.6 doesn’t provide you with clang or clang++ links to the clang-3.6 or clang++-3.6 executables, or a way of easily selecting the active clang version when you have multiple versions installed.

This command/script creates a clang group using update-alternatives so you can easily execute clang (without the version number) and switch between different clang versions.

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.