Fwd: __ARM_ARCH_2__

Andrew Haley aph@redhat.com
Thu Aug 8 09:39:00 GMT 2013

On 08/08/2013 10:37 AM, zhaobin xv wrote:
> Thank you for your answer
> if __ARM_ARCH_2__ is defined by GCC when compiling for the ARMv2
> architecture,how  do gcc know the architecture is ARMv2?
> and I can't find thing about __ARM_ARCH_2__ in gcc manual,could you
> tell me where I can find

Please don't top-post on gcc-help.

GCC doesn't know the architecture is ARMv2.

If the architecture is not ARMv2, you must use the correct arch
arguments to GCC.  This is in the manual.


More information about the Gcc-help mailing list