Linux 軟體安裝使用(5)交叉編譯環境__Linux

來源:互聯網
上載者:User

<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } --> Cross-compile environment cd /opt/ sudo tar xvfj /home/qian/Desktop/EABI-4.3.3_EmbedSky_20100610.tar.bz2 -C / 104 gedit /etc/profile #if the linux is not ubuntu 105 gedit /etc/environment #if the linux is ubuntu /opt/EmbedSky/4.3.3/bin/ 106 sudo chmod a+w /etc/environment 107 gedit /etc/environment 108 109 110 111 source /etc/environment #make the adaptation effect!

a@ubuntu:/opt/EmbedSky/linux-2.6.30.4$ sudo make zImage
make: arm-linux-gcc:命令未找到
  CHK     include/linux/version.h
make[1]: “include/asm-arm/mach-types.h”是最新的。
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CC      kernel/bounds.s
/bin/sh: arm-linux-gcc: not found
make[1]: *** [kernel/bounds.s] 錯誤 127
make: *** [prepare0] 錯誤 2
a@ubuntu:/opt/EmbedSky/linux-2.6.30.4$

建立整合式開發環境後還是出現問題

 

通過使用

su 切換到root #特權模式,正常使用

如果沒有root密碼

sudo passwd root

你的密碼

su

然後就可以正常運行了。。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.