在Ubuntu下安装树莓派的交叉编译环境,有试过吗?
树莓派吧
全部回复
仅看楼主
level 7
交叉编译源代码
  1、环境
  Ubuntu
  2、树莓派交叉编译工具安装
  step1. 下载树莓派交叉编译工具https://github.com/raspberrypi/tools
  step2. 将源码放到各用户都能share的文件夹下,如/usr/tools
  step3. 将交叉编译工具的路径加到环境变量中,为了以后启动不用再设置,我加到了bashrc中
  1 $nano ~/.bashrc 2 #在文件的末尾加上: export PATH=$PATH:/usr/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin 3 $source .bashrc
  step4. 检测是否安装成功
2016年03月03日 05点03分 1
level 7
2016年03月03日 06点03分 2
1