From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H3f18-0002Ox-Uk for garchives@archives.gentoo.org; Sun, 07 Jan 2007 20:53:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l07KoAbH002779; Sun, 7 Jan 2007 20:50:10 GMT Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l07Klvqm001992 for ; Sun, 7 Jan 2007 20:47:58 GMT Received: from [192.168.0.11] ([72.71.198.158]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JBI00294N3I4O93@vms044.mailsrvcs.net> for gentoo-user@lists.gentoo.org; Sun, 07 Jan 2007 14:47:43 -0600 (CST) Date: Sun, 07 Jan 2007 15:47:41 -0500 From: sean Subject: Re: [gentoo-user] distcc In-reply-to: <459EBF32.1060006@neo.rr.com> To: gentoo-user@lists.gentoo.org Message-id: <45A15C6D.8050703@verizon.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <459E570C.1080904@verizon.net> <200701051622.04480.uwix@iway.na> <459E8118.6050508@verizon.net> <459E8EA5.3090906@neo.rr.com> <459E9238.4090204@verizon.net> <459EBF32.1060006@neo.rr.com> User-Agent: Thunderbird 1.5.0.9 (X11/20061230) X-Archives-Salt: b2d66894-5943-428c-83ec-4e2078e3514a X-Archives-Hash: 33f0d4b6e01b5f9b738cde6ef758ba5f John Blinka wrote: > sean wrote: >> John Blinka wrote: >> >>> >>> I think this is backwards. The cross compiler should be on the >>> Opteron box, since distcc is asking >>> the Opteron box to produce 32 bit code for the P4 box. >>> >> >> Check this out. Look at the line highlighted in green. >> >> http://www.gentoo.org/doc/en/cross-compiling-distcc.xml > Yep, that's exactly the document I used to get cross-compiling working > with distcc > on my machines. See the paragraph near the top under the heading "Emerge > the needed utilities". The first sentence of this paragraph refers to > machines "that > will be involved in the compiling process". One might argue that both > your P4 and Opteron > machines are "involved" since the P4 calls the compiler and the Opteron > does the compiling. > But the sentence really refers to machines that will actually *do* the > compiling, i.e., your > Opteron. So you should do 2 things on the Opteron box: "emerge > crossdev" and > "crossdev -t arg" where I'm guessing "arg" is i686-pc-linux-gnu for your > P4 box. > The green highlighted stuff are things you do on the P4 box. The > explanation for > doing the green highlighted stuff is found at the end of the page under > the heading > "Why this works". > > John Blinka Thanks John, Perhaps it is just me, but maybe the docs on this topic could use just a bit more sharpening to clear things. Sean -- gentoo-user@gentoo.org mailing list