Re: Optional machine prefix for programs in for -B dirs, matching Clang

2021-08-04 Thread Paul Koning via Gcc
> On Aug 4, 2021, at 3:32 AM, Jonathan Wakely via Gcc wrote: > > On Wed, 4 Aug 2021, 08:26 John Ericson wrote: > >> Problem: >> >> It's somewhat annoying to have to tell GCC --with-as=... --with-ld=... >> just to prefix those commands the same way GCC is prefixed. >> > > Doesn't GCC automa

Re: Optional machine prefix for programs in for -B dirs, matching Clang

2021-08-04 Thread Jonathan Wakely via Gcc
On Wed, 4 Aug 2021 at 08:41, John Ericson wrote: > > On Wed, Aug 4, 2021, at 3:32 AM, Jonathan Wakely via Gcc wrote: > > > > Doesn't GCC automatically look for those commands in the --prefix directory > > that you configure GCC with? Or is that only for native compilers? > > > > It will search only

Re: Optional machine prefix for programs in for -B dirs, matching Clang

2021-08-04 Thread John Ericson
On Wed, Aug 4, 2021, at 3:32 AM, Jonathan Wakely via Gcc wrote: > > Doesn't GCC automatically look for those commands in the --prefix directory > that you configure GCC with? Or is that only for native compilers? > It will search only if --with-*=... was not passed, and it will never prefix the

Re: Optional machine prefix for programs in for -B dirs, matching Clang

2021-08-04 Thread Jonathan Wakely via Gcc
On Wed, 4 Aug 2021, 08:26 John Ericson wrote: > Problem: > > It's somewhat annoying to have to tell GCC --with-as=... --with-ld=... > just to prefix those commands the same way GCC is prefixed. > Doesn't GCC automatically look for those commands in the --prefix directory that you configure GCC wi

Optional machine prefix for programs in for -B dirs, matching Clang

2021-08-04 Thread John Ericson
Problem: It's somewhat annoying to have to tell GCC --with-as=... --with-ld=... just to prefix those commands the same way GCC is prefixed. In particular, when doing host-only build (skipping all target libraries), one otherwise doesn't need the target-specific binutils to be yet built, but --