GCC-臂Linux的gnueabi命令未找到 [英] gcc-arm-linux-gnueabi command not found

查看:303
本文介绍了GCC-臂Linux的gnueabi命令未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图安装的Ubuntu的GNU工具链的手臂。我先下载从codeSourcery焦油。然而,当我进入bin文件夹,我不能运行任何二进制文件。我曾尝试与./不和,并把它的路径和它不断告诉我找不到命令,但该文件是存在的文件夹中就在我的面前。然后我试图sudo易于得到安装gcc-臂Linux的gnueabi但它表示,它已经成功安装后,我无法用whereis GCC-ARM的Linux的gnueabi找到它。谁能帮助?

I am trying to install the gnu arm toolchain for ubuntu. I first downloaded the tar from CodeSourcery. However when I go into the bin folder, I cannot run any of the binaries. I have tried with ./ and without and putting it in the PATH and it keeps telling me "Command not Found" yet the file is there in the folder right in front of me. Then I tried sudo apt-get install gcc-arm-linux-gnueabi except after it says it has installed successfully, I cannot find it with whereis gcc-arm-linux-gnueabi. Can anyone help?

推荐答案

您编译在64位操作系统?尝试:

Are you compiling on a 64-bit OS? Try:

sudo apt-get install ia32-libs

我试图编译树莓派内核时有同样的问题。在Ubuntu 12.04我是交叉编译64位和工具链需要IA32-库在64位系统上工作。

I had the same problem when trying to compile the Raspberry Pi kernel. I was cross-compiling on Ubuntu 12.04 64-bit and the toolchain requires ia32-libs to work on on a 64-bit system.

请参阅http://hertaville.com/2012/09/28/development-environment-raspberry-pi-cross-compiler/

这篇关于GCC-臂Linux的gnueabi命令未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆