Gentoo Archives: gentoo-embedded

From: Enrico Weigelt <weigelt@×××××.de>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc
Date: Sat, 05 Feb 2011 16:15:35
Message-Id: 20110205152439.GB16741@nibiru.local
In Reply to: Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc by Christoph Spielmann
1 * Christoph Spielmann <spielc@×××××.com> schrieb:
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).
5
6 Somehow, I'm not surprised at all ... ;-o
7
8 > If you want to build x86-code on a machine using a x86-compiler
9 > why would you want to use a cross-compilation-environment anyway?
10
11 For isolated builds ? Eg. building for different ABIs, etc ?
12 Or to find stupid things like AC_TRY_RUN() more easily ?
13
14 > The idea of using cross-compilation is to build stuff for another
15 > target than the target of the host-compiler... E.g. build arm-code
16 > on a x86-machine or compile stuff for ppc on a x86-64-machine.
17
18 A target's binary/runtime environment is defined by way more
19 parameters than just CPU's instruction set.
20
21
22 BTW: I'm often building binpkgs for certain foreign x86 systems
23 (small or special purpose devices, ancient distros, etc, etc)
24 by - guess what - crosscompiling.
25
26
27 cu
28 --
29 ----------------------------------------------------------------------
30 Enrico Weigelt, metux IT service -- http://www.metux.de/
31
32 phone: +49 36207 519931 email: weigelt@×××××.de
33 mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
34 ----------------------------------------------------------------------
35 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
36 ----------------------------------------------------------------------