搭建ARM i287编译

xiaoxiao2021-02-28  121

一、搭建编译环境。

1.解压文件

vmuser@Linux-host: ~$ tar xjvf gcc-4.4.4-glibc-2.11.1-multilib-1.0.tar.bz2 -C /opt/ 2.打开全局变量(如果是个人配置,则是 ~/.bashrc

sudo vi /etc/profile

3.加入全局环境

export PATH=$PATH:/opt/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin

4.安装32位运行库

sudo yum install xulrunner.i686 5.编译

vmuser@Linux-host: ~$ arm-fsl-linux-gnueabi-gcc hello.c -o hello

二、搭建SSH环境

1.安装ssh服务

yum install openssh-server 2.重启ssh服务

service sshd restart netstat -antp | grep sshd

3.打开开机启动

chkconfig sshd on

转载请注明原文地址: https://www.6miu.com/read-68031.html

最新回复(0)