Changes to enable the use of gcov

Scott Ritchie scott at open-vote.org
Tue Jun 15 00:15:38 CDT 2010


On 06/14/2010 08:04 PM, James McKenzie wrote:
> Peter Davies wrote:
>> To use gcov you must pass --coverage at both compile and link time.
>> This patch means that "make CFLAGS=--coverage LDFLAGS=--coverage",
>> "make test",
>> "gcov file.c" is sufficient generate .gcov files.
>>
>>   
> Peter:
> 
> Somehow this patch got munged in transit and will not apply to current
> git.  Can you update it and send it again?
> 
> James McKenzie
>

As an aside, if gcov compilation finally starts working that means we
can build Wine using GCC's Profile Guided Optimization.  In other
applications this has made a very significant boost in performance, and
it's basically "free".

Thanks,
Scott Ritchie



More information about the wine-devel mailing list