[dpdk-dev] how to build dpdk in debug mode?

Qiu, Michael michael.qiu at intel.com
Tue Aug 4 19:08:37 CEST 2015


Please refer dec/build-sdk-quick.txt

EXTRA_CFLAGS=-g

should work.

Thanks,
Michael

On 2015/8/3 9:29, Thomas Monjalon wrote:
> 2015-08-03 16:16, Montorsi, Francesco:
>> Hi all,
>> I have searched the archives for this, without much success.
>>
>> Is it possible to build dpdk user-space libraries with -O0 and -g instead of -O3 ?
>> This would make debugging via GDB much more friendly...
> The answer is EXTRA_CFLAGS :)
>



More information about the dev mailing list