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 <gentoo-embedded+bounces-3811-garchives=archives.gentoo.org@lists.gentoo.org>) id 1PaPIg-0000Ux-6U for garchives@archives.gentoo.org; Wed, 05 Jan 2011 09:04:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58BBBE0662 for <garchives@archives.gentoo.org>; Wed, 5 Jan 2011 09:04:57 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id A8F37E0653 for <gentoo-embedded@lists.gentoo.org>; Wed, 5 Jan 2011 08:21:32 +0000 (UTC) Received: by fxm11 with SMTP id 11so9687890fxm.40 for <gentoo-embedded@lists.gentoo.org>; Wed, 05 Jan 2011 00:21:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=8JuvNkTZNgBb/MSMeUQpt82BHharrcEDKT/+W4EZ4RA=; b=GdaEYc5HlVwwgiolZwaezS+xRiqn9oulM6OotUcHDcsFS61owf/gAx/Gw2tqZKIMtX 6vS5T62cumjdKSa7zrkPVY3npdRPdnMS1NjCWujOvVBqhEJfIvhREnKcKmX3tPhN2Uo4 j1BzDZjubm20WNQSz0PQcqa1ds/KXTulP6LG4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=oO2MgbLpLKMeEiyoxeutcmN2TznMJPc5dZ6kZlb3x7pTRP8jnSr8CNqnZg3f13WvZP 5Y8p1U9O66mrllWacvIs0CJO16cyNNg3zvyVpsZYZm83K1mjkj+k7IAKh8Cqd40WKSsa 3gaUFcbuHcdCZBM8IjEekKjUq8YYOaSWY0G+k= Received: by 10.223.106.129 with SMTP id x1mr2880996fao.13.1294215691782; Wed, 05 Jan 2011 00:21:31 -0800 (PST) Received: from [10.0.0.3] (188-22-192-54.adsl.highway.telekom.at [188.22.192.54]) by mx.google.com with ESMTPS id n2sm5381502fam.4.2011.01.05.00.21.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Jan 2011 00:21:29 -0800 (PST) Message-ID: <4D242A00.60502@gmail.com> Date: Wed, 05 Jan 2011 09:21:20 +0100 From: Christoph Spielmann <spielc@gmail.com> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101227 Lightning/1.0b3pre Thunderbird/3.1.7 Precedence: bulk List-Post: <mailto:gentoo-embedded@lists.gentoo.org> List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org> X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc References: <AANLkTikBSJE7SWS7_m6j0W2g2eV-kiMc_mVdyZSWvKR7@mail.gmail.com> <20110102185943.6382.qmail@stuge.se> <201101021431.59009.vapier@gentoo.org> <AANLkTinbRaOGHXvxcQ6MWtHYw4TOxkVGqzWi5mQsVAhh@mail.gmail.com> <4D21BE5F.5080104@gmail.com> <AANLkTikcSR2VEOs9Fqz9rbrLcDDQ-thX8o7mEaWwF5Cr@mail.gmail.com> <4D223B90.2010604@gmail.com> <4D23794A.4090804@tampabay.rr.com> In-Reply-To: <4D23794A.4090804@tampabay.rr.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 0abd609a-de49-4cf8-9d7f-0be75c0c9bba X-Archives-Hash: 61f4054d1d6aae52d4f47cb0bd429530 Am 04.01.2011 20:47, schrieb wireless: > On 01/03/11 16:11, Christoph Spielmann wrote: > >> Well in terms of crossdev i686-gentoo-linux-gnu-gcc is not a valid >> target (just look at the output of crossdev --help). 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? 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. > > OK I agree with this answer, mostly. > > I have a situation where a x86 (P4) Machine is built on i686 for > everything. However, I'm also going to chroot the machine and build > binaries for all sorts of i486/586 and old oddball processors such as > the Geode. > > So isn't that a valid exception to what you have opined about? Okey but all these things are in the end x86-processors. Some support flags that other's won't but in the end they are basically all the same arch. So my suggestion would've been: use a chroot-environment for such a case. In my eyes it only makes sense to use cross-compilation (including all the hassles that you will come across by using it) if you need (or want) to build stuff for another architecture or machine, that is not powerfull enough for compilation tasks itself. E.g. arm5-code on a x86_64-environment > > curious, > James > > >