Using multiple LLVM versions on Ubuntu
来源:互联网 发布:线割编程招聘 编辑:程序博客网 时间:2024/03/28 21:02
On Ubuntu 13.10, the default version of llvm is llvm-3.2. But you can install other versions of llvm (llvm-3.3 or llvm-3.4) through apt-get. However, the command line tools of llvm such as llvm-as, llvm-dis, llvm-link lli, llc and opt still point to the default version. To use llvm-3.3 llvm-as, you must specify the version number as in
llvm-as-3.3
This is cumbersome. Fortunately, you can change the default version using update-alternatives. For example, to make llvm-link point to llvm-link-3.3,
sudo update-alternatives –install /usr/bin/llvm-link llvm-link /usr/bin/llvm-link-3.3 33
You can do this for llvm-config, llvm-as, llvm-dis, lli, llc and opt as well.
http://kwangyulseo.com/2014/02/05/using-multiple-llvm-versions-on-ubuntu/
- Using multiple LLVM versions on Ubuntu
- Using Multiple Android Studio Versions
- using multiple versions of the SDK
- Using UCI on Ubuntu
- Metastore contains multiple versions
- Can I use multiple versions of jQuery on the same page?
- Running a function on multiple elements using Jquery .each()
- Multiple ALVs on Single Screen Using ABAP Objects
- Install multiple versions of Python
- Building LLVM on Ubuntu 12.04 32bit and Ubuntu 13.04 64bit ——LLVM安装编译手记
- RenderScript on LLVM笔记
- Using Different Versions of R
- How to install experimental Docker versions on my Ubuntu 16.04 LTS
- Loading Multiple Versions of same Assembly
- Supporting Multiple iOS Versions and Devices
- 【Topics Generic】Supporting Multiple Versions of iOS
- hive异常MetaException-Metastore contains multiple versions
- Ubuntu下编译LLVM
- 嵌入式编程基础知识学习(1)
- Spring源码之bean的加载(四)获取单例
- 并查集
- Spring源码之bean的加载(五)准备创建bean
- 【杭电oj】2277 - Change the ball(找规律)
- Using multiple LLVM versions on Ubuntu
- 【BZOJ 4443】 [Scoi2015]小凸玩矩阵|二分|最大匹配|匈牙利
- Java命名规范及给自己写的方法添加注解
- 【BZOJ 4448】 [Scoi2015]情报传递|树链剖分|树套树
- spring初步和struts2整合
- [J2EE]java操作json
- 用数学方法解决工程问题系列(三) 判断任意给定一点是否在多边形内
- [bzoj2440][中山市选2011]完全平方数
- Linux telnet简单实用方法