Skip to content

Commit

Permalink
modify arm-linux-gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
WayenVan committed Jul 25, 2018
1 parent 0dcca16 commit 2a208ba
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion install-arm-linux-gcc.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
#安装交叉编译工具时候遇到的主要问题
# 安装交叉编译工具时候遇到的主要问题

在此列出安装交叉编译工具链 arm-linux-gcc 4.4.3 中遇到的主要步骤及问题

1. 将压缩文件包 arm-linux-gcc4.4.3.tar.gz 文件拷贝进入目录 `~/arm` 目录下
2. 运行解压命令 `tar -zxvf arm-linux-gcc4.4.3.tar.gz` 命令解压到当前目录中
3. 确定环境变量:用户bash文件 `~/.bash_profile` 是用户登录时会运行的bash文件,在其中输入 `export PATH=$PATH:~/arm/.../4.4.3/bin` 并且利用命令 `source ~/.bash_profile` 重新运行文件,之后再确定环境变量PATH目录有没有变化 `echo $PATH` 观察输出是否已经添加工具目录
4. 最后,运行 `arm-linux-gcc -v` 命令查看是否安装正确

* 如果linux系统是64位的,需要安装32位的库文件,具体百度

0 comments on commit 2a208ba

Please sign in to comment.