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. -- Joseph S. Myers jos...@codesourcery.com