This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Replacing gcc's dependence on libiberty's fnmatch to gnulib's fnmatch
On 31 July 2016 at 23:39, Joseph Myers <firstname.lastname@example.org> wrote:
> On Sat, 30 Jul 2016, Manuel López-Ibáñez wrote:
>> > Building for different targets is fairly irrelevant here; the issue is
>> > building for different hosts, which is harder.
>> 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?
> That depends on the details of how the configure tests in question work;
> if they test whether calls to a function can be linked, the function will
> be detected as present even if the header has been removed.
True. Oh well, Ayush does not have access to different hosts, thus I
guess it is better that he focuses his limited time on functions that
he can test. There are plenty of functions that are both in gnulib and
libiberty but not in glibc.