From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.3/8.13.3) with ESMTP id j33Acweq025092 for ; Sun, 3 Apr 2005 10:38:58 GMT Received: from rproxy.gmail.com ([64.233.170.195]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DI2VQ-0004Nc-Qh for gentoo-dev@robin.gentoo.org; Sun, 03 Apr 2005 10:39:00 +0000 Received: by rproxy.gmail.com with SMTP id c16so1166254rne for ; Sun, 03 Apr 2005 03:39:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=pj2Q5lis3Y+6eguGn+N55cJar2GmdPUjtpEWFPl07WlSx68apY2RIOaLa12oOs3m0bosTrjd8XPa3Bm7YFufOKnycbBUXYIOymnfnuExqahgenO7cVoXHcNJTR7aSF7ja0Ihzr2g4BTE6zc9OflzAnfidbsrt3N80j/CXqt0pDk= Received: by 10.39.1.30 with SMTP id d30mr3393918rni; Sun, 03 Apr 2005 03:39:03 -0700 (PDT) Received: by 10.38.67.10 with HTTP; Sun, 3 Apr 2005 03:39:03 -0700 (PDT) Message-ID: Date: Sun, 3 Apr 2005 12:39:03 +0200 From: Ioannis Aslanidis To: gentoo-dev@robin.gentoo.org Subject: Re: [gentoo-dev] Patch for absolute minimal GCC for distcc environment In-Reply-To: <200504030315.22340.adq_dvb@lidskialf.net> Precedence: bulk List-Post: , , List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-To: gentoo-dev@gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <200504030256.14492.adq_dvb@lidskialf.net> <424F508A.5000501@gentoo.org> <200504030315.22340.adq_dvb@lidskialf.net> X-Archives-Salt: b72c08b3-6a4c-4a7f-bcf3-de71e4734623 X-Archives-Hash: 1001f56ae41d290737d10b131afee61c You do not need to use a cross compiler. The i686-pc-linux-gnu is included in the toolchain. What you will have to do is to correct all the i686 machines that erroneously call gcc instead of i686-pc-linux-gcc. You will also have to append -m32 to your CFLAGS as a workaround to some bug. Finally you will see that there are several packages that will not compile with distcc if you have an amd64 compiling too. On Apr 3, 2005 4:15 AM, Andrew de Quincey wrote: > On Sunday 03 April 2005 03:10, Andrew Gaffney wrote: > > Andrew de Quincey wrote: > > > Hi, I hope this is the correct place to send this. > > > > > > I have setup distcc in my network. Most of the hosts are i686, but one of > > > them is x86_64. I wish to distribute tasks to the i686 machines from the > > > x86_64 machine. This involves installing a cross compiler on the i686 > > > machines for x86_64 tasks. Crossdev is overkill for this - I don't > > > actually _need_ glibc and the like on the client machines for a simple > > > distcc environment. It really adds to the upgrade time when emerge sync; > > > emerge worlding. > > > > crossdev -s1 -t > > According to the docs, that doesn't compile a c++ compiler: > > -s1, --stage1 Build a C compiler (no libc/C++) > -- > gentoo-dev@gentoo.org mailing list > > -- Ioannis Aslanidis 0xB9B11F4E 0xC2539DA3 0xF202D067 Hellenic Gentoo GNU/Linux project manager (http://hellenicgentoo.sf.net) FIRECOPS++ project manager (http://firecops.sf.net) Digger Realoaded (http://digger-reloaded.sf.net) Gentoo Forums Global Moderator (http://forums.gentoo.org) Computer Engineering student at Universitat Rovira i Virgili -- gentoo-dev@gentoo.org mailing list