Hi Dan,

On 01/14/2014 09:40 PM, Daniel Kan wrote:
> On a similar note, is there any particular reason why many macros such
> as RTE_MACHINE_XXX are passed as flags to the compiler instead of
> being defined in rte_config.h?

I guess it's because in case of local compilation (called "native"),
these flags can be generated dynamically in mk/rte.toolchain-compat.mk
from gcc or icc compiler version and from the CPUFLAGS variable
(see machine/native/rte.vars.mk).

You can also check this older thread:
http://dpdk.org/ml/archives/dev/2014-January/001053.html

Regards,
Olivier

Reply via email to