This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v3] add support for --disable-gcov
On 06/11/2018 01:25 AM, Rasmus Villemoes wrote:
> For some targets (in my case VxWorks 5.5), libgcov does not compile due
> to missing functions and macros such as getpid() and F_OK.
>
> Incidentally, gcc/Makefile.in already contains comments such as
>
> # Install gcov if it was compiled.
>
> but there is no logic in place to actually allow gcov to not be
> compiled.
I think in the past folks would do things like
make LANGUAGES="c c++"
Which would skip building gcov.
>
> So add an option for disabling build and install of libgcov and the
> related host tools.
>
> 2018-06-10 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
>
> gcc/
> * configure.ac: Add --disable-gcov option.
> * configure: Regenerate.
> * Makefile.in: Honour @enable_gcov@.
> * doc/install.texi: Document --disable-gcov.
>
> libgcc/
> * configure.ac: Add --disable-gcov option.
> * configure: Regenerate.
> * Makefile.in: Honour @enable_gcov@.
OK. Presumably you're going through the process to get write access.
Once that's wrapped up you can install this patch.
Thanks,
jeff