[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc --coverage and copying Bison generated files
From: |
Daiki Ueno |
Subject: |
Re: gcc --coverage and copying Bison generated files |
Date: |
Fri, 28 Nov 2014 11:33:21 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Sean Nakasone <address@hidden> writes:
> perhaps lookup VPATH
Thanks for the response. However, I don't think VPATH affects the file
names embedded in the GCC artifacts like *.gcno. Also, unfortunately,
we can't simply use VPATH here, because:
>> gettext-runtime/
>> intl/
>> Makefile
>> plural.y
>> plural.c # <-- generated from plural.y
>> ...
>>
>> gettext-tools/
>> intl/
>> Makefile
When the final artifact (i.e. libgnuintl.la) is already built in
gettext-runtime/intl/, the prerequisites (e.g. *.lo files and a header
file generated at build time) won't be populated under
gettext-tools/intl/. Those files are actually referred to from other
directories under gettext-tools/.
I also found the GCOV_PREFIX envvar, but it didn't help either.
Regards,
--
Daiki Ueno