build with code coverage

Miklos Vajna vmiklos at
Mon Jul 8 00:35:12 PDT 2013


On Sun, Jul 07, 2013 at 11:00:12PM +0200, John Smith <lbalbalba at> wrote:
> Im trying to build libreoffice with gcov/lcov code coverage. Im
> following these steps :
> But im getting this error:
> I tried adding  '-lgcov' for ENVLINKFLAGS and LDFLAGS, but that doesnt help.
> Any thoughts and pointers appreciated.

I'm regularly building part of the code with gcov options using this

So, setting gb_GCOV does the right thing here. If you want to do that
for the whole build, try using:

make bootstrap fetch
make -j <num> -rs -f Makefile.gbuild gb_GCOV=YES

instead of plain "make".


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <>

More information about the LibreOffice mailing list