Received: from eggs.gnu.org ([2001:4830:134:3::10]:52332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1ecY-0006tF-3i for qemu-devel@nongnu.org; Tue, 01 Nov 2016 15:21:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1ecT-0002Vg-7C for qemu-devel@nongnu.org; Tue, 01 Nov 2016 15:21:18 -0400 Received: from mail-yw0-x241.google.com ([2607:f8b0:4002:c05::241]:34032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c1ecT-0002VX-2T for qemu-devel@nongnu.org; Tue, 01 Nov 2016 15:21:13 -0400 Received: by mail-yw0-x241.google.com with SMTP id l124so1398188ywb.1 for ; Tue, 01 Nov 2016 12:21:13 -0700 (PDT) Sender: Richard Henderson References: <1478002070-26676-1-git-send-email-rth@twiddle.net> <20161101162047.GB2691@redhat.com> <20161101174337.GE2691@redhat.com> From: Richard Henderson Message-ID: <28db5963-950c-71f1-1646-292a1ab8761c@twiddle.net> Date: Tue, 1 Nov 2016 13:21:08 -0600 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL v2 for-2.8 0/9] tcg queued patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: "Daniel P. Berrange" , QEMU Developers On 11/01/2016 12:17 PM, Peter Maydell wrote: > On 1 November 2016 at 17:51, Richard Henderson wrote: >> The usual pain point for me is building for 32-bit on a 64-bit >> system, where there is no cross-prefix that one can use, and >> PKG_CONFIG_PATH and --extra-cflags are the only changes. > > That sounds like a bug in how the 32-bit compilers work on > x86 ;-) Ideally you should be able to get a 32-bit compile > with i586-linux-gnu-gcc... gcc -m32 worked very well for years, before pkg-config came along and mucked things up by using package-local include and library directories. As long as everything was installed in the toolchain-aware search paths, everything Just Worked. r~