On 29 July 2016 at 23:10, Joseph Myers <jos...@codesourcery.com> wrote: > On Tue, 26 Jul 2016, Prathamesh Kulkarni wrote: > >> >> GCC can run on other systems besides OSX and GNU/Linux, how can you >> >> test that your change does not break anything on those systems? >> >> >> > Well I have access to these two systems only. How would you suggest I >> > test my patches on all possible systems? >> Maybe building contrib/config-list.mk could help ? AFAIK, it will cross build >> the gcc tree for different targets, but not run the testsuite, however >> I could be wrong. > > 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? Cheers, Manuel.