public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "John Ericson" <mail@johnericson.me>
To: "Jonathan Wakely" <jwakely.gcc@gmail.com>
Cc: gcc@gcc.gnu.org
Subject: Re: Optional machine prefix for programs in for -B dirs,  matching Clang
Date: Wed, 04 Aug 2021 03:40:40 -0400	[thread overview]
Message-ID: <8bae6ba2-a4ad-4445-aeb9-e19ece045062@www.fastmail.com> (raw)
In-Reply-To: <CAH6eHdQtDNvs2tbNi3zn+pz7PjzN7qWwzu57wmO_DR2ZVN5zaA@mail.gmail.com>

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 query. So yes in practice for cross compilers people do the --with-* and no searching happens, and for native compilers no one bothers and searching does happen. But to be a pedant strictly speaking the behavior is independent of whether the compiler is host == target or not.

  reply	other threads:[~2021-08-04  7:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04  7:25 John Ericson
2021-08-04  7:32 ` Jonathan Wakely
2021-08-04  7:40   ` John Ericson [this message]
2021-08-04  9:04     ` Jonathan Wakely
2021-08-04 14:48     ` Re: Optional machine prefix for programs in for -B dirs, match ing Clang Michael Matz
2021-08-04 18:04       ` John Ericson
2021-08-05 12:30         ` Michael Matz
2021-08-06  4:13           ` John Ericson
2021-08-04 13:05   ` Optional machine prefix for programs in for -B dirs, matching Clang Paul Koning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bae6ba2-a4ad-4445-aeb9-e19ece045062@www.fastmail.com \
    --to=mail@johnericson.me \
    --cc=gcc@gcc.gnu.org \
    --cc=jwakely.gcc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).