4412 Environment Construction: ARM-LINUX-GCC: No file or directoryOctober 15, 2014 ? A total of 993 characters? size Small Medium big ? Review 11 article? Read 6,125 times
Recently made a 4412 board (friendly arm of the Tiny4412 enhanced version), ready to engage in Android, development server with the Ubuntu12.04-64bit version (for Android 2.3.X and newer version, requires 64-bit system, Before the old version 2.2 or less (including 2.2) can be compiled on the 32-bit version, but also do not recommend the virtual machine, because the official network written virtual machine configuration is too distorted, to 16G of Ram/swap and 30G above the hard disk, the speed will not be ideal)
ARM-LINUX-GCC 4.5.1 Cross tool chain with friendly, installed environment variable after installation, run Arm-linux-gcc-v error
12 |
#/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc -v bash: /opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc: 没有那个文件或目录 |
You can see that the file is present, and the environment variable is set to the correct
It is not possible to execute directly in the directory Bin directory:
123 |
[email protected]:/opt/FriendlyARM/toolschain/4.5.1/bin# ./arm-linux-gcc -v exec: 15: /opt/FriendlyARM/toolschain/4.5.1/bin/.arm-none-linux-gnueabi-gcc: not found |
The direct execution of the legendary ARM-NONE-LINUX-GNUEADI-GCC is still not possible:
123 |
[email protected]:/opt/FriendlyARM/toolschain/4.5.1/bin# ./arm-none-linux-gnueabi-gcc -su: ./arm-none-linux-gnueabi-gcc: 没有那个文件或目录 |
Google, finally found the answer, as follows:
The problem has been solved, because I installed the Amd64.iso Linux System,so first must excuse Apt-get install Lsb-core, Then you can excuse arm-linux-gcc-v
Solution:
Perform
1 |
sudo apt-get install lsb-core |
After the installation is complete, the arm-linux-gcc-v is executed and the output is normal.
Reproduced: 4412 Environment Construction: ARM-LINUX-GCC: No file or directory