From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by sourceware.org (Postfix) with ESMTPS id C22243858413 for ; Wed, 4 Aug 2021 07:41:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C22243858413 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=johnericson.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=johnericson.me Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9A58F5C007F; Wed, 4 Aug 2021 03:41:00 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute6.internal (MEProxy); Wed, 04 Aug 2021 03:41:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnericson.me; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=fm1; bh=oAPqUyfDBtFZtM/h4dMDlYTYiU+A seGbZv06UBEn34M=; b=TvziLQfZcjWc6wnxlGFqPfOOX9DQYCZd55Kypnf/T9FL PnhhM6tdOq24LllfsM9Yk3gnqh7AJhfwDtvGsf+JiJnv8eK1uE9C5bO11DvoWyOI 4DJ6cNKum0pKlNOyogvkRo3RlbVWpEFer2KOzpcUueodrFMtOHhHqeGT4QHnmkWY nJpO7qMNxyEM4QdllZOxxmUvkDo8M4Z6BU9xD6iQZDBmb8rLa/MESJFPF0djnrvV 0tkrMyLTIIF88dItrlohOPIdLfUcKpz8E9NsS9uPSXyOe7L0B5aLgtZ8sEXRHFIL s3H3am84DBYk9t5woZBJO7deQ1MAMqB70EtFiE70aQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=oAPqUy fDBtFZtM/h4dMDlYTYiU+AseGbZv06UBEn34M=; b=gXJMW3872cprhbc7+r6SnL U46Iky9A5GBp3rV0gUffSH1dIb0pekVdqVrYJ+hOPvQ1SQPczRmlVZPLOqpqXJZq wIc01CsBkn2EKr07RtpCYapuGM+Df71PMTXVdWmInfENt2TruPRkQRXeJgypXgFp ekhGQUNsctihQdekaPfS46nO7wRXN6uXQmcfRNpT62Z4OrjUh9ElNU+YmwovstQe OTtGIEVnItCkg9SpFgPao+YyhF9yRGfxod10XniOji6GW4wRoG69X6fUmVI5ryVD ZlMOOtVjDoETBuiO8bJokr0U9NJwP6havENya6qsaKUtiwuKfUn+zquMznTYitkw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrieehgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderreejnecuhfhrohhmpedflfhohhhnucfgrhhitghsohhnfdcuoehmrghilhesjhho hhhnvghrihgtshhonhdrmhgvqeenucggtffrrghtthgvrhhnpeehfeegheegvdetveetge elvdejvefgvedtteeuvdfhieehteffffegvddthedttdenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghilhesjhhohhhnvghrihgtshhonh drmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 56DB2FA0AA4; Wed, 4 Aug 2021 03:41:00 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-548-g3a0b1fef7b-fm-20210802.001-g3a0b1fef Mime-Version: 1.0 Message-Id: <8bae6ba2-a4ad-4445-aeb9-e19ece045062@www.fastmail.com> In-Reply-To: References: Date: Wed, 04 Aug 2021 03:40:40 -0400 From: "John Ericson" To: "Jonathan Wakely" Cc: gcc@gcc.gnu.org Subject: =?UTF-8?Q?Re:_Optional_machine_prefix_for_programs_in_for_-B_dirs, _match?= =?UTF-8?Q?ing_Clang?= Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2021 07:41:01 -0000 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.