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-3802-garchives=archives.gentoo.org@lists.gentoo.org>) id 1PZrrw-0008Lb-0j for garchives@archives.gentoo.org; Mon, 03 Jan 2011 21:23:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2928CE065A for <garchives@archives.gentoo.org>; Mon, 3 Jan 2011 21:23:07 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 1C58DE0800 for <gentoo-embedded@lists.gentoo.org>; Mon, 3 Jan 2011 21:11:57 +0000 (UTC) Received: by bwg12 with SMTP id 12so10172415bwg.40 for <gentoo-embedded@lists.gentoo.org>; Mon, 03 Jan 2011 13:11:57 -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; bh=VAXW+ECYLyZcl90ztoSxfH1mtLthHRIrvHfl+DXb6hg=; b=k6h488fDdnf3xNwCtLvd3FuVZCATp6jo6klVLnYHs91CfKckNiw+hH88n8MMLjESsx 2HE5+mjMNtxSHwOvkwYrzHgh1lwHhcMOpki59/pnrtea7qJdTbNta+y4uhwY3ld1+tYf LkMISGcmBTYrKx2NheCKhpbBPUOGw9n7JkCbE= 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; b=LaK/6veMNKGW2264UWK5Teeuh5BDpfz9qdIhfQX8VprbEO0Gc0BUJI9F/bKv15rQt2 8+/KDYi1vAIbKvz5GntFqIOVf07O6Qmvz6gIVPAsNlcqWtZCbi4Dcp+nGK7UHGzi3PGK GAUWIo8qWpCy7vysnonso9P5d7m8yvJfvUnRI= Received: by 10.204.33.73 with SMTP id g9mr3047152bkd.157.1294089117221; Mon, 03 Jan 2011 13:11:57 -0800 (PST) Received: from [10.0.0.3] (188-22-137-174.adsl.highway.telekom.at [188.22.137.174]) by mx.google.com with ESMTPS id f20sm9262669bkf.16.2011.01.03.13.11.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 Jan 2011 13:11:55 -0800 (PST) Message-ID: <4D223B90.2010604@gmail.com> Date: Mon, 03 Jan 2011 22:11:44 +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> In-Reply-To: <AANLkTikcSR2VEOs9Fqz9rbrLcDDQ-thX8o7mEaWwF5Cr@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------020709020101000606070904" X-Archives-Salt: cff6092b-c0da-4cd7-aa2c-9734d8909698 X-Archives-Hash: 0b268e3130be4ee252be7238891fdd5b This is a multi-part message in MIME format. --------------020709020101000606070904 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Am 03.01.2011 16:33, schrieb Kfir Lavi: > > > On Mon, Jan 3, 2011 at 2:17 PM, Christoph Spielmann <spielc@gmail.com > <mailto:spielc@gmail.com>> wrote: > > Hi, > > Am 03.01.2011 10:21, schrieb Kfir Lavi: >> >> >> On Sun, Jan 2, 2011 at 9:31 PM, Mike Frysinger <vapier@gentoo.org >> <mailto:vapier@gentoo.org>> wrote: >> >> On Sunday, January 02, 2011 13:59:43 Peter Stuge wrote: >> > Kfir Lavi wrote: >> > > crossdev i686-gentoo.edge-linux-gnu >> > >> > .. >> > >> > > CBUILD=i686-pc-linux-gnu >> > >> > I'm pretty sure you should use i686-pc-linux-gnu as the >> crossdev >> > tuple then. I don't think making up arbitrary tuples works. >> (gentoo.edge) >> >> the vendor field is supposed to be arbitrary and the only >> char that should >> cause a split is a "-". not that we test every char though, >> so there might be >> bugs sitting around that most people dont notice. >> -mike >> >> I tried it again running >> crossdev i686-gentoo-linux-gnu > > Once again, wrong vendor field: It really should be > i686-pc-linux-gnu as Mike suggested > > >> and got the same results. >> >> What can be wrong with my setup? >> >> Thanks, >> Kfir > > What I did is funny: > CBUILD=i686-pc-linux-gnu > HOSTCC=i686-pc-linux-gnu-gcc > > So it seems I'm using my native compiler?! > And I'm not using my i686-gentoo-linux-gnu-gcc 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. > > Can I see which compiler is really working if I change CBUILD to > i686-gentoo-linux-gnu? > > Thanks, > Kfir --------------020709020101000606070904 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content=3D"text/html; charset=3DUTF-8" http-equiv=3D"Content-Ty= pe"> <title></title> </head> <body bgcolor=3D"#ffffff" text=3D"#000000"> Hi,<br> <br> Am 03.01.2011 16:33, schrieb Kfir Lavi: <blockquote cite=3D"mid:AANLkTikcSR2VEOs9Fqz9rbrLcDDQ-thX8o7mEaWwF5Cr@mail.gmai= l.com" type=3D"cite"> <div dir=3D"ltr"><br> <br> <div class=3D"gmail_quote">On Mon, Jan 3, 2011 at 2:17 PM, Christoph Spielmann <span dir=3D"ltr"><<a moz-do-not-send=3D"true" href=3D"mailto:spielc@gmail.com">s= pielc@gmail.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div bgcolor=3D"#ffffff" text=3D"#000000"> Hi,<br> <br> Am 03.01.2011 10:21, schrieb Kfir Lavi: <div class=3D"im"> <blockquote type=3D"cite"> <div dir=3D"ltr"><br> <br> <div class=3D"gmail_quote">On Sun, Jan 2, 2011 at 9:3= 1 PM, Mike Frysinger <span dir=3D"ltr"><<a moz-do-not-send=3D"true" href=3D"mailto:vapier@gentoo.org" target=3D"_blank">vapier@gentoo.org</a>></sp= an> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: = 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div> <div>On Sunday, January 02, 2011 13:59:43 Peter Stuge wrote:<br> > Kfir Lavi wrote:<br> > > crossdev i686-gentoo.edge-linux-gnu<br> ><br> > ..<br> ><br> > > CBUILD=3Di686-pc-linux-gnu<br> ><br> > I'm pretty sure you should use i686-pc-linux-gnu as the crossdev<br> > tuple then. I don't think making up arbitrary tuples works. (gentoo.edge)<br> <br> </div> </div> the vendor field is supposed to be arbitrary and the only char that should<br> cause a split is a "-". =C2=A0not that we test ev= ery char though, so there might be<br> bugs sitting around that most people dont notice.<br> <font color=3D"#888888">-mike<br> </font></blockquote> </div> I tried it again running <br> crossdev i686-gentoo-linux-gnu<br> </div> </blockquote> <br> </div> Once again, wrong vendor field: It really should be i686-pc-linux-gnu as Mike suggested <div class=3D"im"><br> <br> <blockquote type=3D"cite"> <div dir=3D"ltr">and got the same results. <br> <br> What can be wrong with my setup?<br> <br> Thanks,<br> Kfir<br> </div> </blockquote> <br> </div> </div> </blockquote> </div> What I did is funny:<br> CBUILD=3Di686-pc-linux-gnu<br> HOSTCC=3Di686-pc-linux-gnu-gcc<br> <br> So it seems I'm using my native compiler?!<br> And I'm not using my i686-gentoo-linux-gnu-gcc<br> </div> </blockquote> 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. <br> <blockquote cite=3D"mid:AANLkTikcSR2VEOs9Fqz9rbrLcDDQ-thX8o7mEaWwF5Cr@mail.gmai= l.com" type=3D"cite"> <div dir=3D"ltr"><br> Can I see which compiler is really working if I change CBUILD to i686-gentoo-linux-gnu?<br> <br> Thanks,<br> Kfir<br> </div> </blockquote> <br> </body> </html> --------------020709020101000606070904--