Re: [PATCH] Factor out `find_a_program` helper around `find_a_file`

2021-09-20 Thread Gerald Pfeifer
added a ChangeLog entry and pushed this to the trunk. |commit 5fee8a0a9223d030c66d53c104fb0a431369248f |Author: John Ericson | Date: Sun Sep 19 11:08:32 2021 -0400 | | [PATCH] Factor out `find_a_program` helper around `find_a_file` | |gcc/ |*

Re: [PATCH] Factor out `find_a_program` helper around `find_a_file`

2021-09-19 Thread Iain Sandoe
Hi Folks > On 19 Sep 2021, at 23:41, Iain Sandoe wrote: > >> On 19 Sep 2021, at 16:10, Jeff Law via Gcc-patches >> wrote: >> >> On 8/4/2021 12:21 PM, John Ericson wrote: >>> The helper is for `--print-prog-name` and similar things. Since all >>> executable finding goes through it, we can move

Re: [PATCH] Factor out `find_a_program` helper around `find_a_file`

2021-09-19 Thread Iain Sandoe
> On 19 Sep 2021, at 16:10, Jeff Law via Gcc-patches > wrote: > > > > On 8/4/2021 12:21 PM, John Ericson wrote: >> The helper is for `--print-prog-name` and similar things. Since all >> executable finding goes through it, we can move the default overrides >> into that path too. This also en

Re: [PATCH] Factor out `find_a_program` helper around `find_a_file`

2021-09-19 Thread Jeff Law via Gcc-patches
On 8/4/2021 12:21 PM, John Ericson wrote: The helper is for `--print-prog-name` and similar things. Since all executable finding goes through it, we can move the default overrides into that path too. This also ensures that if some is looking for a *non*-program that called `as`, `ld`, etc., we

[PATCH] Factor out `find_a_program` helper around `find_a_file`

2021-08-04 Thread John Ericson
The helper is for `--print-prog-name` and similar things. Since all executable finding goes through it, we can move the default overrides into that path too. This also ensures that if some is looking for a *non*-program that called `as`, `ld`, etc., weird things don't happen. --- gcc/gcc.c | 59 ++