From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-163176-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 89D58138CC5 for <garchives@archives.gentoo.org>; Tue, 24 Mar 2015 17:19:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F655E098F; Tue, 24 Mar 2015 17:18:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D6C2E08F7 for <gentoo-user@lists.gentoo.org>; Tue, 24 Mar 2015 17:18:57 +0000 (UTC) Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 179823409F9 for <gentoo-user@lists.gentoo.org>; Tue, 24 Mar 2015 17:18:56 +0000 (UTC) Received: by igbqf9 with SMTP id qf9so3343022igb.1 for <gentoo-user@lists.gentoo.org>; Tue, 24 Mar 2015 10:18:53 -0700 (PDT) X-Received: by 10.107.165.68 with SMTP id o65mr8006152ioe.56.1427217533904; Tue, 24 Mar 2015 10:18:53 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.64.128.168 with HTTP; Tue, 24 Mar 2015 10:18:33 -0700 (PDT) In-Reply-To: <20150324071754.GB8371@waltdnes.org> References: <20150319015612.GA7416@waltdnes.org> <2482967.XKl8GgfQej@navi> <CAJ0EP40ROYC8FarXymDOyoZsFzT8P4HqWec-zSNFB6tA5q00-Q@mail.gmail.com> <1570093.qMVvttJaZ4@navi> <20150324015104.GA32732@waltdnes.org> <CAJ0EP43qFSgO5ZDG1Oc-_7eGUgN_egp3Pp1j=j74E5b0h-wCYQ@mail.gmail.com> <20150324071754.GB8371@waltdnes.org> From: Mike Gilbert <floppym@gentoo.org> Date: Tue, 24 Mar 2015 13:18:33 -0400 Message-ID: <CAJ0EP41dTHv2Q4EiHXK7V4KnpUd8aPuJijshWVvLDY1aw4xJGA@mail.gmail.com> Subject: Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 63914e08-874c-4c4c-83e0-860426081e6b X-Archives-Hash: 8735521356e71c22e224a5ba68b362cd On Tue, Mar 24, 2015 at 3:17 AM, Walter Dnes <waltdnes@waltdnes.org> wrote: > On Mon, Mar 23, 2015 at 06:18:46PM -0400, Mike Gilbert wrote > >> You will probably need to add -m32 to CFLAGS to avoid building 64-bit >> objects on the 64-bit machine. > > How could i686-pc-linux-gnu-gcc build 64-bit stuff in the first place? > I followed the instructions, and ran the following on the host 64-bit > machine... > I assumed you were using the x86_64 toolchain. If you have built a dedicated i686 toolchain, my comment does not apply.