Gentoo Archives: gentoo-embedded

From: wireless <wireless@×××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc
Date: Tue, 04 Jan 2011 20:08:49
Message-Id: 4D23794A.4090804@tampabay.rr.com
In Reply to: Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc by Christoph Spielmann
1 On 01/03/11 16:11, Christoph Spielmann wrote:
2
3 > Well in terms of crossdev i686-gentoo-linux-gnu-gcc is not a valid
4 > target (just look at the output of crossdev --help). If you want to
5 > build x86-code on a machine using a x86-compiler why would you want to
6 > use a cross-compilation-environment anyway? The idea of using
7 > cross-compilation is to build stuff for another target than the target
8 > of the host-compiler... E.g. build arm-code on a x86-machine or compile
9 > stuff for ppc on a x86-64-machine.
10
11
12 OK I agree with this answer, mostly.
13
14 I have a situation where a x86 (P4) Machine is built on i686 for
15 everything. However, I'm also going to chroot the machine and build
16 binaries for all sorts of i486/586 and old oddball processors such as
17 the Geode.
18
19 So isn't that a valid exception to what you have opined about?
20
21
22 curious,
23 James

Replies

Subject Author
Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc Christoph Spielmann <spielc@×××××.com>