{"id":637,"date":"2016-10-21T13:09:53","date_gmt":"2016-10-21T18:09:53","guid":{"rendered":"http:\/\/ebixio.com\/blog\/?p=637"},"modified":"2016-12-22T00:16:39","modified_gmt":"2016-12-22T05:16:39","slug":"alternatives-for-clang","status":"publish","type":"post","link":"http:\/\/ebixio.com\/blog\/2016\/10\/21\/alternatives-for-clang\/","title":{"rendered":"Alternatives for clang"},"content":{"rendered":"<p>In Ubuntu, installing clang-3.6 doesn&#8217;t provide you with <code lang=\"bash\" inline=\"on\">clang<\/code> or <code lang=\"bash\" inline=\"on\">clang++<\/code> links to the <code lang=\"bash\" inline=\"on\">clang-3.6<\/code> or <code lang=\"bash\" inline=\"on\">clang++-3.6<\/code> executables, or a way of easily selecting the active clang version when you have multiple versions installed.<\/p>\n<p>This command\/script creates a clang group using update-alternatives so you can easily execute <code lang=\"bash\" inline=\"on\">clang<\/code> (without the version number) and switch between different clang versions.<\/p>\n<p><script src=\"https:\/\/gist.github.com\/gburca\/5e2d587bd25e4b184f559983e2187578.js\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Ubuntu, installing clang-3.6 doesn&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-637","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/posts\/637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/comments?post=637"}],"version-history":[{"count":6,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/posts\/637\/revisions"}],"predecessor-version":[{"id":648,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/posts\/637\/revisions\/648"}],"wp:attachment":[{"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/media?parent=637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/categories?post=637"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/tags?post=637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}