From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PlknP-0001YV-7I for garchives@archives.gentoo.org; Sat, 05 Feb 2011 16:15:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF04E1C05F for ; Sat, 5 Feb 2011 16:15:34 +0000 (UTC) Received: from mailgate.caprica.metux.de (caprica.metux.de [82.165.128.25]) by pigeon.gentoo.org (Postfix) with ESMTP id 7A5A4E07BD for ; Sat, 5 Feb 2011 15:35:23 +0000 (UTC) Received: from mailgate.caprica.metux.de (localhost.localdomain [127.0.0.1]) by mailgate.caprica.metux.de (8.14.4/8.14.4) with ESMTP id p15FW1Do010424 for ; Sat, 5 Feb 2011 16:32:01 +0100 Received: (from uucp@localhost) by mailgate.caprica.metux.de (8.14.4/8.14.4/Submit) with UUCP id p15FV50W010395 for gentoo-embedded@lists.gentoo.org; Sat, 5 Feb 2011 16:31:05 +0100 Received: (from weigelt@localhost) by nibiru.metux.de (8.12.10/8.12.10) id p15FOeV3014828 for gentoo-embedded@lists.gentoo.org; Sat, 5 Feb 2011 16:24:40 +0100 Date: Sat, 5 Feb 2011 16:24:40 +0100 From: Enrico Weigelt To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc Message-ID: <20110205152439.GB16741@nibiru.local> References: <20110102185943.6382.qmail@stuge.se> <201101021431.59009.vapier@gentoo.org> <4D21BE5F.5080104@gmail.com> <4D223B90.2010604@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D223B90.2010604@gmail.com> User-Agent: Mutt/1.4.1i X-Terror: bin laden, kill bush, Briefbombe, Massenvernichtung, KZ, X-Nazi: Weisse Rasse, Hitlers Wiederauferstehung, 42, X-Antichrist: weg mit schaeuble, ausrotten, heiliger krieg, al quaida, X-Killer: 23, endloesung, Weltuntergang, X-Doof: wer das liest ist doof X-Archives-Salt: X-Archives-Hash: 0ae8ad87ef474983a34e8beb62687bd3 * Christoph Spielmann schrieb: > Well in terms of crossdev i686-gentoo-linux-gnu-gcc is not a valid > target (just look at the output of crossdev --help). Somehow, I'm not surprised at all ... ;-o > If you want to build x86-code on a machine using a x86-compiler > why would you want to use a cross-compilation-environment anyway? For isolated builds ? Eg. building for different ABIs, etc ? Or to find stupid things like AC_TRY_RUN() more easily ? > The idea of using cross-compilation is to build stuff for another > target than the target of the host-compiler... E.g. build arm-code > on a x86-machine or compile stuff for ppc on a x86-64-machine. A target's binary/runtime environment is defined by way more parameters than just CPU's instruction set. BTW: I'm often building binpkgs for certain foreign x86 systems (small or special purpose devices, ancient distros, etc, etc) by - guess what - crosscompiling. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------