[ovs-dev] [PATCH 2/2] cccl: Enable compiler optimization by default.
ssaurabh at vmware.com
Thu Aug 28 18:45:35 UTC 2014
> -----Original Message-----
> From: dev [mailto:dev-bounces at openvswitch.org] On Behalf Of Gurucharan
> Sent: Thursday, August 28, 2014 10:54 AM
> To: Eitan Eliahu
> Cc: dev at openvswitch.org; Gurucharan Shetty
> Subject: Re: [ovs-dev] [PATCH 2/2] cccl: Enable compiler optimization by
> On Thu, Aug 28, 2014 at 10:45 AM, Eitan Eliahu <eliahue at vmware.com>
> > Hi Guru,
> > Do we distinguish between Debug and Releases builds? ( I recall we
> > discussed this before but forgot what was the outcome) Enabling
> optimization may cause some issues for the debugger to match the source to
> the code.
> We currently do not have a way to do that. I currently remove the "/O2" flag
> manually from cccl file to debug. (I do the same in Makefile for Linux, i.e.,
> manually remove it)
It would be useful to have a configure flag to do this (--with-optimize or --with-debug).
More information about the dev