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:
- Arm-Eabi-GCC: no such file or directory
Search for ARM-Eabi-gcc
Prebuilt $ find.-Name arm-Eabi-gcc
- ./Linux-x86/toolchain/arm-eabi-4.3.1/bin/ARM-Eabi-gcc
- ./Linux-x86/toolchain/arm-eabi-4.4.0/bin/ARM-Eabi-gcc
- ./Linux-x86/toolchain/arm-eabi-4.2.1/bin/ARM-Eabi-gcc
- ./Darwin-x86/toolchain/arm-eabi-4.3.1/bin/ARM-Eabi-gcc
- ./Darwin-x86/toolchain/arm-eabi-4.4.0/bin/ARM-Eabi-gcc
- ./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:
- "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!