Hi,
I want to cross-compile stressapptest app on my laptop (x86) running ubuntu 16.04. The target platform is Open-Q development board with Snapdragon 820 (aarch64) running Android 7.1.1.
What is the easiest way of doing that? After some time of googling I already know that "configure" script should be run with --host=aarch64-none-linux-gnueabi --with-static parameters:
./configure --host=aarch64-none-linux-gnueabi --with-static
However I'm getting output suggesting that I don't have my compilators configured for crosscompilation for ARM:
Tutaj wprowadź kod...checking for aarch64-none-linux-gnueabi-g++... no
checking for aarch64-none-linux-gnueabi-c++... no
checking for aarch64-none-linux-gnueabi-gpp... no
checking for aarch64-none-linux-gnueabi-aCC... no
checking for aarch64-none-linux-gnueabi-CC... no
checking for aarch64-none-linux-gnueabi-cxx... no
checking for aarch64-none-linux-gnueabi-cc++... no
checking for aarch64-none-linux-gnueabi-cl.exe... no
checking for aarch64-none-linux-gnueabi-FCC... no
checking for aarch64-none-linux-gnueabi-KCC... no
checking for aarch64-none-linux-gnueabi-RCC... no
checking for aarch64-none-linux-gnueabi-xlC_r... no
checking for aarch64-none-linux-gnueabi-xlC... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
I still don't know how ubuntu should be configured for cross-compilation of stressapptest. Or maybe I should use Android NDK? If so then how should I do it?
Regards