arm-linux-gcc( arm-none-linux-gnueabi-gcc) cause "No such file or directory"

来源:互联网 发布:sql2000自动备份数据库 编辑:程序博客网 时间:2024/05/12 01:36

arm-linux-gcc( arm-none-linux-gnueabi-gcc) cause "No such file or directory"


after cross-complier installed, and env set

cmd> arm-linux-gcc -v
-bash: /usr/local/arm_linux_4.2/bin/arm-linux-gcc: No such file or directory


install ia32-libs (  lib32z1 lib32ncurses5 lib32bz2-1.0 replace it)

sudo apt-get install ia32-libs
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0


so, try install package
cmd> sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

cmd>  arm-linux-gcc -v
gcc version 4.2.1

--
DONE




ueed0@ueed0:~/Project/w55fa92bsp-2.6.35/linux-2.6.35.4$ arm-linux-gcc -v

bash: /usr/local/arm_linux_4.2/bin/arm-linux-gcc: No such file or directory

ueed0@ueed0:~$  sudo apt-get install ia32-libs
[sudo] password for ueed0:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0

E: Package 'ia32-libs' has no installation candidate


0 0