https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85574
--- Comment #37 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 27 Jan 2021, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85574 > > --- Comment #36 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > > Because I didn't try to invent a clever way to detect which ones will > > actually exist (but I know lto1 will). Sure some extra-compare-if-exists > > could be invented. If there's no way to compare binaries on windows > > then there's maybe a way to conditionalize the extra-compare setting > > in the makefile fragment. > > There is one, see above. And it looks like contrib/compare-lto should be > rewritten from scratch, it takes a lot of time on Windows for nothing IIUC. Feel free to improve things - I do not have any Windows system to test on or an idea what you think needs to be improved. I would guess similar things apply to compare-debug which it was derived from.