From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 150C8688A for ; Thu, 16 Jan 2014 14:57:31 +0100 (CET) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1W3nTf-0003AZ-CZ; Thu, 16 Jan 2014 14:59:27 +0100 Message-ID: <52D7E658.7050403@6wind.com> Date: Thu, 16 Jan 2014 15:02:00 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: Daniel Kan References: <8A452F53-AD44-4C3C-8AB0-AD3342206D46@nyansa.com> <201401141238.30056.thomas.monjalon@6wind.com> <1FD9B82B8BF2CF418D9A1000154491D973FC5A42@ORSMSX102.amr.corp.intel.com> <201401141455.57994.thomas.monjalon@6wind.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Any benefit of using DPDK's makefiles instead of using your own and linking against DPDK library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 13:57:31 -0000 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