为什么我收到以下 gcc (4.6.1) 警告?
warning: switch -mcpu=xscale conflicts with -march=armv5te switch
[enabled by default]
“英特尔 XScale 核心开发人员手册”指出:
英特尔 XScale® 内核实现了 ARM V5TE 中指定的整数指令集架构。
编辑: GCC 手册说明了有关该-march=
选项的以下内容:
This option can be used in conjunction with or instead of the -mcpu= option.
所以这两个开关可以一起使用。因此,问题在于值(xscale 和 amrv5te)。那么,为什么这两种价值观之间会发生这样的冲突呢?