Gentoo Archives: gentoo-user

From: Mike Gilbert <floppym@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code?
Date: Tue, 24 Mar 2015 17:19:03
Message-Id: CAJ0EP41dTHv2Q4EiHXK7V4KnpUd8aPuJijshWVvLDY1aw4xJGA@mail.gmail.com
In Reply to: Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code? by Walter Dnes
1 On Tue, Mar 24, 2015 at 3:17 AM, Walter Dnes <waltdnes@××××××××.org> wrote:
2 > On Mon, Mar 23, 2015 at 06:18:46PM -0400, Mike Gilbert wrote
3 >
4 >> You will probably need to add -m32 to CFLAGS to avoid building 64-bit
5 >> objects on the 64-bit machine.
6 >
7 > How could i686-pc-linux-gnu-gcc build 64-bit stuff in the first place?
8 > I followed the instructions, and ran the following on the host 64-bit
9 > machine...
10 >
11
12 I assumed you were using the x86_64 toolchain. If you have built a
13 dedicated i686 toolchain, my comment does not apply.