From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id 07CE6382E060; Tue, 28 Jul 2020 13:51:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 07CE6382E060 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=whitebox@nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4BGJ3z6zdSz1qrfc; Tue, 28 Jul 2020 15:51:11 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4BGJ3z4hwgz1qr5H; Tue, 28 Jul 2020 15:51:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id yXWXCkdGlrHQ; Tue, 28 Jul 2020 15:51:10 +0200 (CEST) X-Auth-Info: rHWRqt1lJsuwkWadFoySO/yGSCI5/CQkd+7zRN4RRgM7vaF9IKZHjD447N0TrDXC Received: from igel.home (ppp-46-244-187-191.dynamic.mnet-online.de [46.244.187.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 28 Jul 2020 15:51:10 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 6F17E2C28D7; Tue, 28 Jul 2020 15:51:09 +0200 (CEST) From: Andreas Schwab To: "H.J. Lu via Binutils" Cc: Simon Marchi , "H.J. Lu" , Tom Tromey , GCC Patches , GDB , Aaron Merey Subject: Re: V2 [PATCH] PKG_CHECK_MODULES: Check if $pkg_cv_[]$1[]_LIBS works References: <20200502022903.175852-1-amerey@redhat.com> <3d9da16939fa6b503188033b56d30531e03d5d2a.camel@redhat.com> <87a72ino27.fsf@tromey.com> <64517fee-8b8f-84b2-a116-c3d146ff1119@simark.ca> <87eep4hp3s.fsf@tromey.com> <996bd0f9-cec5-119c-19ea-b127cf1bb95d@simark.ca> X-Yow: I'm having BEAUTIFUL THOUGHTS about the INSIPID WIVES of smug and wealthy CORPORATE LAWYERS.. Date: Tue, 28 Jul 2020 15:51:09 +0200 In-Reply-To: (H. J. Lu via Binutils's message of "Tue, 28 Jul 2020 06:33:22 -0700") Message-ID: <87r1svyche.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2020 13:51:15 -0000 On Jul 28 2020, H.J. Lu via Binutils wrote: > On x86, the native GCC can support -m32 and -m64. "gcc -m32" or "gcc -m64" > are not cross compiling. You cannot link -m64 and -m32 together. > I didn't set PKG_CONFIG_LIBDIR and I don't want to set it. Then use the correct pkg-config for your target. If you think pkg-config is broken, then fix _that_. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."