Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Sun, Aug 5, 2012 at 3:02 PM, Matúš Kukan <matus.kukan@gmail.com> wrote:
On 5 August 2012 13:11, John Smith <lbalbalba@gmail.com> wrote:
LDFLAGS+='-lgcov' CFLAGS+='-fprofile-arcs -ftest-coverage'
CXXFLAGS+='-fprofile-arcs -ftest-coverage' CPPFLAGS+='-fprofile-arcs
-ftest-coverage' make

If you would google for undefined reference to `__gcov_merge_add'
You could get to
http://stackoverflow.com/questions/566472/where-is-the-gcov-symbols
And try LDFLAGS+='-fprofile-arcs' instead of -lgcov which seems to help

Best,
Matus

Thanks. That makes your suggestion below work :

make sal.all
cd sal
make clean
LDFLAGS+='--fprofile-arcs' CFLAGS+='-fprofile-arcs -ftest-coverage' \
CXXFLAGS+='-fprofile-arcs -ftest-coverage' \
CPPFLAGS+='-fprofile-arcs -ftest-coverage' make


I'll try LDFLAGS+='-fprofile-arcs' on the entire project now.


- John.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.