This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [build] Move libgcov support to toplevel libgcc


On Fri, 8 Jul 2011, Rainer Orth wrote:

> And another easy one: moving libgcov over to libgcc.

Do you have any specific plans regarding gcov-io.c and gcov-io.h?  Because 
they are genuinely used on both the host and the target they are a 
trickier case; I wonder if they should end up in their own toplevel 
directory like libdecnumber, building a proper library that exports 
different functions when configured for the host than for the target, that 
for the target gets included in libgcov and that for the host gets linked 
into cc1, gcov and gcov-dump rather than having files do the present 
'#include "gcov-io.c"'.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]