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.