这个显然是看手册了。man gcc 或者info gcc
以下是对march的解释摘录:
-march=name
This specifies the name of the target ARM architecture. GCC uses
this name to determine what kind of instructions it can emit when
generating assembly code. This option can be used in conjunction
with or instead of the -mcpu= option. Permissible names are:
armv2, armv2a, armv3, armv3m, armv4, armv4t, armv5, armv5t,
armv5te, armv6, armv6j, armv6t2, armv6z, armv6zk, armv7, armv7-a,
armv7-r, armv7-m, iwmmxt, ep9312.
alick 于 2009-11-05 23:59:03发表:
这个显然是看手册了。man gcc 或者info gcc
以下是对march的解释摘录:
-march=name
This specifies the name of the target ARM architecture. GCC uses
this name to determine what kind of instructions it can emit when
generating assembly code. This option can be used in conjunction
with or instead of the -mcpu= option. Permissible names are:
armv2, armv2a, armv3, armv3m, armv4, armv4t, armv5, armv5t,
armv5te, armv6, armv6j, armv6t2, armv6z, armv6zk, armv7, armv7-a,
armv7-r, armv7-m, iwmmxt, ep9312.