On Fri, 28 Feb 2020, Alexandre Oliva wrote: > I'm not sure it's appropriate for the error to not omit the host > platform's executable suffix, just as it omits directory components from > argv[0], so I'm undecided between fixing collect2.c's initialization of > progname or extending the regexp, as in the (untested) patchlet below.
I don't think the error should mention .exe, but I also don't think the error should mention collect2 (see what I said in <https://gcc.gnu.org/ml/gcc-patches/2019-11/msg01772.html>, the existence of collect2 is an implementation detail). -- Joseph S. Myers jos...@codesourcery.com