0

我正在尝试安装 GNU ARM Embedded Toolchain,以便将其与 Ubuntu 机器中的 Sublime Text 3 集成。

我按照以下步骤操作,但出现错误:

1.从“ https://launchpad.net/gcc-arm-embedded/+downloadGo ”下载数据包,然后将数据包解压缩到主目录:

cd ~/
tar -xvjf ~/Downloads/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2

2.测试文件是否存在,权限是否正常。

ll ~/gcc-arm-none-eabi-5_4-2016q3/bin
-rwxrwxrwx 2 root root  776368 set 26 19:36 arm-none-eabi-gcc*

--- I obmited the others files... ---

3.测试是否有效:

sudo ~/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc --version

但我得到了这个错误:

bash: /home/fabio/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc: No such file or directory

我怎样才能解决这个问题?我的用户是“fabio”,但文件的所有者是 root。

4

1 回答 1

1

问题解决了。

执行二进制文件时出现“没有这样的文件或目录”错误

我缺少运行 32 位应用程序所需的 /lib/ld-linux.so.2 文件。

于 2016-11-09T14:27:57.017 回答