[dpdk-dev] Any benefit of using DPDK's makefiles instead of using your own and linking against DPDK library

Olivier MATZ olivier.matz at 6wind.com
Thu Jan 16 15:02:00 CET 2014

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:


More information about the dev mailing list