0

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?

Community
  • 1
  • 1
Registered User
  • 2,239
  • 3
  • 32
  • 58

1 Answers1

0

From what i understand from here http://www.arm.com/products/processors/armv8-architecture.php aarch64 is compatible with 32bits so if you are targeting only the new 64 bits arm processors you can use aarch64, but if you also want 32bit for older processors you have to use arm.

isma3l
  • 3,833
  • 1
  • 22
  • 28