Tool/software: Linux
Hi,
I am working with a Beaglebone Black and SDK 05_01_00_11.
I am trying to find out the right compiler flags. More concretely, I am thinking on the flags related to specification of cpu, machine architecture and fpu.
The default configuration of SDK compiler is:
-march = armv7-a
-marm [disabled]
-mcpu [default]
-mtune=cortex-a9
-mfpu=vfpv3-d16
As the AM3358 is Cortex-A8 and has a NEON coprocessor, I think that the right configuration when doing cross-compilation should be:
-march = armv7-a
-marm [enabled]
-mcpu = cortex-a8
-mtune=cortex-a8
-mfpu=neon
Am I right?
Thanks in advance,
Miguel