Reprint: 4412 Environment Construction: ARM-LINUX-GCC: No file or directory

Source: Internet
Author: User

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 -vbash: /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

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.