This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: __ARM_ARCH_2__


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.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]