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: [PATCH] Replacing gcc's dependence on libiberty's fnmatch to gnulib's fnmatch


On 07/30/2016 02:10 AM, Manuel López-Ibáñez wrote:

> What about my suggestion of forcing GCC to use the gnulib functions by
> temporarily removing the system-wide functions? Would that be
> equivalent testing to building on a host that requires the libiberty
> version of a function?

I don't think that in general that's equivalent, because many of
gnulib's replacement headers will actually #include_next the original
header, and then fix some detail.  Thus it's not equivalent to the
original header not existing.

Thanks,
Pedro Alves


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