Hi,
I have been trying to compile for Android, on debian 9 and ubuntu 18.10 and 16.04. I have recent versions of the Sdk and Ndk (via android studio) with ANDROID_SDK_PATH and ANDROID_NDK_PATH set. Although I understand that arm-linux-android-eabi needs to be in my path, I am unable to locate it.
Hence I have errors which look like this:
../tools/configure: 1: ../tools/configure: arm-linux-androideabi-gcc: not found
../tools/configure: 1: ../tools/configure: arm-linux-androideabi-ld: not found
[WARNING] The compiler you must use (arm-linux-androideabi-gcc) is not in your path!
[...] ../tools/configure: 4722: ../tools/configure: arm-linux-androideabi-cpp: not found
I tried the following - Ubuntu 16.04 has a package named "gcc-arm-linux-androideabi" which, after intalling, prompts ../tools/configure to say that it is the wrong version.
Using arm-linux-androideabi-gcc 4.7.4 (407)
WARNING: Your cross-compiler arm-linux-androideabi-gcc 4.7.4 is not of the recommended version 4.6!
I'm not sure how to install version 4.6 which is on github (
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6). Will this fix the problem?
Can anyone help please??
Thanks.