I am trying to cross compile some linux tools for android using a linux machine. The general steps for compiling are
./configure
make
Now the configure file supports using the $CC
variable as well as setting the target using --target
option. But I am not sure what argument to use.
The processor information is
AArch64 Processor rev 1 (aarch64)
So do I use aarch64
? But this answer says I should be using arm
? But it also uses android NDK which I don't have.
So what is the correct argument for --target
option? Or should I use CC variable?