Arm-Eabi-GCC: no such file or directory compilation Error

Source: Internet
Author: User

Source: http://blog.csdn.net/codejoker/article/details/5843143

 

Recently, an open-source program has been transplanted to Android. The following errors always occur during compilation:

  1. Arm-Eabi-GCC: no such file or directory

Search for ARM-Eabi-gcc

 

Prebuilt $ find.-Name arm-Eabi-gcc

  1. ./Linux-x86/toolchain/arm-eabi-4.3.1/bin/ARM-Eabi-gcc
  2. ./Linux-x86/toolchain/arm-eabi-4.4.0/bin/ARM-Eabi-gcc
  3. ./Linux-x86/toolchain/arm-eabi-4.2.1/bin/ARM-Eabi-gcc
  4. ./Darwin-x86/toolchain/arm-eabi-4.3.1/bin/ARM-Eabi-gcc
  5. ./Darwin-x86/toolchain/arm-eabi-4.4.0/bin/ARM-Eabi-gcc
  6. ./Darwin-x86/toolchain/arm-eabi-4.2.1/bin/ARM-Eabi-gcc

 

I can find it. Why is this compilation error reported ??? I had to ask a big guy from the company, and I just got it done in two words. The original statement is as follows:

 
  1. "Oh, this error? Generally, your MAKEFILE file is wrong. Do you have a space after "/" When referencing the header file or source file ?"

Hurry up and check Android. mk. A space is added at the end of each line of local_src_files. Correct immediately, recompile, and pass. Sorry! Experience is very important!

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.