交叉编译安装

来源:互联网 发布:linux shell 嵌套 编辑:程序博客网 时间:2024/06/06 02:23

下载
http://download.csdn.net/detail/zhangxuechao_/9046437

设置环境变量
方法一:

sudo vim /etc/environment

加入环境变量/bin,中间以:隔开

方法二:

# vim /etc/profile export PATH=$PATH:xxx/bin

方法三:

# vim /etc/bash.bashrc export PATH=$PATH:xxx/binexport PATH 

注:
如果64位支持交叉编译,需要

# sudo apt-get install ia32-libs 
0 0