Arm-none-linux-gnueabi-gcc:not found solution under Ubuntu system __linux

Source: Internet
Author: User

I installed the arm cross compiler under Ubuntu, when I verify that the cross compiler is able to use, there are arm-none-linux-gnueabi-gcc to find errors. As shown below

root@zqj-ubuntu:/# arm-linux-gcc-v
/opt/friendlyarm/toolschain/4.4.3/bin/arm-linux-gcc:15:exec:/opt/ Friendlyarm/toolschain/4.4.3/bin/.arm-none-linux-gnueabi-gcc:not found

This occurs because a 32-bit cross compiler cannot be compatible with a 64-bit Linux system.

Therefore, the solution to the above problem is to install the 32-bit library, the 64-bit Linux system can be compatible with the ARM-LINUX-GCC cross compiler.

The first thing I found on the internet was that the 32-bit library was installed:

sudo apt-get install Ia32-libs

But my Ubuntu system is 14.04 version, so the final installation will not succeed. The online version of the 12.04 is not the libc6-i386 library.


The correct command to install the 32-bit library is: (my Ubuntu is version 14.04, see only)

sudo apt-get install libc6-i386

Note: Enter the Y-press ENTER where you meet [y/n]. Otherwise, the above situation will appear, the installation is unsuccessful.


The correct interface is installed as follows:



When the installation is complete and then the ARM-LINUX-GCC-V command is used to test the cross compiler, no further problems occur.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.