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 1H2wQU-0001xg-9Q for garchives@archives.gentoo.org; Fri, 05 Jan 2007 21:16:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l05LEPkZ012569; Fri, 5 Jan 2007 21:14:25 GMT Received: from ms-smtp-03.ohiordc.rr.com (ms-smtp-03.ohiordc.rr.com [65.24.5.137]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l05LCKcj005484 for ; Fri, 5 Jan 2007 21:12:21 GMT Received: from [192.168.1.101] (cpe-24-93-160-159.neo.res.rr.com [24.93.160.159]) by ms-smtp-03.ohiordc.rr.com (8.13.6/8.13.6) with ESMTP id l05LCJXe027153 for ; Fri, 5 Jan 2007 16:12:19 -0500 (EST) Message-ID: <459EBF32.1060006@neo.rr.com> Date: Fri, 05 Jan 2007 16:12:18 -0500 From: John Blinka User-Agent: Thunderbird 1.5.0.9 (X11/20061227) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] distcc References: <459E570C.1080904@verizon.net> <200701051622.04480.uwix@iway.na> <459E8118.6050508@verizon.net> <459E8EA5.3090906@neo.rr.com> <459E9238.4090204@verizon.net> In-Reply-To: <459E9238.4090204@verizon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Archives-Salt: 45352db0-6d7a-4760-9d86-828a22c8a1d3 X-Archives-Hash: a8cd0cce17652535d247e75d6e94adab 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 -- gentoo-user@gentoo.org mailing list