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 1H3O6H-00076z-Kb for garchives@archives.gentoo.org; Sun, 07 Jan 2007 02:49: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 l072lMQ9003815; Sun, 7 Jan 2007 02:47:22 GMT Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l072jBBn012205 for ; Sun, 7 Jan 2007 02:45:11 GMT Received: from [192.168.0.11] ([72.71.198.158]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JBH00MNX8ZAHW87@vms042.mailsrvcs.net> for gentoo-user@lists.gentoo.org; Sat, 06 Jan 2007 20:45:10 -0600 (CST) Date: Sat, 06 Jan 2007 21:45:10 -0500 From: sean Subject: Re: [gentoo-user] distcc In-reply-to: <200701061527.31799.Gentoo@kraszewscy.net> To: gentoo-user@lists.gentoo.org Message-id: <45A05EB6.2060706@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=UTF-8; format=flowed References: <459E570C.1080904@verizon.net> <200701061527.31799.Gentoo@kraszewscy.net> User-Agent: Thunderbird 1.5.0.9 (X11/20061230) Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id l072lMQc003815 X-Archives-Salt: 20a8c235-5a71-4a15-a252-e5601ce5ca66 X-Archives-Hash: bd834cd2325996cc01c7691147bb6b0a Pawel Kraszewski wrote: > Dnia pi=C4=85tek, 5 stycznia 2007 14:47, sean napisa=C5=82: >=20 >> I am reading over the info on distcc so that I might be able to setup = an >> older P4 1.3 Ghz system to have help compiling from my dual Opteron >> (amd64 mode). >> >> I only want the Opteron to help the P4, not the other way around, the >> Opteron does not need the help. >> >> Is that configurable as such? >> >> Thanks >> Sean >=20 > Well, http://wiki.kraszewscy.net/Cross_DistCC shows how to do it (in Po= lish,=20 > sorry). >=20 > In short: >=20 > ---8X---[ setup for COMPILER machine (AMD64) ]------------------- >=20 > 1. make directory /opt/cross32/bin > 2. make there a file "i686-pc-linux-gnu-wrapper" containing >=20 > #!/bin/bash > exec /usr/bin/x86_64-pc-linux-gnu-g${0:$[-2]} -m32 "$@" >=20 > 3. make it executable > 4. make soft links in that directory >=20 > ln -s i686-pc-linux-gnu-wrapper gcc > ln -s i686-pc-linux-gnu-wrapper g++ > ln -s i686-pc-linux-gnu-wrapper c++ > ln -s i686-pc-linux-gnu-wrapper cc > ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-gcc > ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-g++ > ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-c++ > ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-cc >=20 > 5. copy "/etc/init.d/distccd" to "/etc/init.d/distccd32" >=20 > 6. fix "/etc/init.d/distccd32" to have >=20 > TMPDIR=3D"${TMPDIR}" \ > PATH=3D"/opt/cross32/bin" \ > /sbin/start-stop-daemon =E2=80=93start =E2=80=93quiet =E2=80=93s= tartas ${DISTCCD_EXEC} \ >=20 > 7. copy "/etc/conf.d/distccd" to "/etc/conf.d/distccd32" >=20 > 8. fix "/etc/conf.d/distccd" to have >=20 > DISTCCD_OPTS=3D"${DISTCCD_OPTS} --port 3664" >=20 > ---8X---[ end of setup for COMPILER machine (AMD64) ]------------------= - >=20 > Now you have two distccd daemons:=20 > * one at port 3632 for 32-bit distcompiling > * one at port 3664 for 64-bit distcompiling >=20 > At this point your Opterons will handle remote 32-bit compiling - you d= on't=20 > need to make any changes on P4 machine other than activating regular di= stcc. >=20 Thanks Pawel, Your steps are obviously a bit different then those listed here. http://www.gentoo.org/doc/en/cross-compiling-distcc.xml So you are stating just emerge crossdev, the run crossdev -t and from the point where the web page states "Here is what you want to=20 do:" (1.2) follow the instructions you listed here, rather then the web=20 page? Sean --=20 gentoo-user@gentoo.org mailing list