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.50) id 1ETIMB-0006Ud-OP for garchives@archives.gentoo.org; Sat, 22 Oct 2005 12:20:16 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9MCH9rc004291; Sat, 22 Oct 2005 12:17:11 GMT Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9MCEgI1006396 for ; Sat, 22 Oct 2005 12:14:42 GMT Received: from vivi.cc.vt.edu (IDENT:mirapoint@evil-vivi.cc.vt.edu [10.1.1.12]) by lennier.cc.vt.edu (8.12.11/8.12.11) with ESMTP id j9MCHaBx004907 for ; Sat, 22 Oct 2005 08:17:36 -0400 Received: from [192.168.1.2] (blacksburg-bsr1-69-170-32-128.chvlva.adelphia.net [69.170.32.128]) by vivi.cc.vt.edu (MOS 3.6.4-CR) with ESMTP id EJU19526 (AUTH spbecker); Sat, 22 Oct 2005 08:17:35 -0400 (EDT) Message-ID: <435A2DDE.1000403@gentoo.org> Date: Sat, 22 Oct 2005 08:17:34 -0400 From: "Stephen P. Becker" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051003) X-Accept-Language: en-us, en 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@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rm `which gcc` && emerge -e world References: <1129950753.4942.15.camel@TSUNAMI.MIT.EDU> In-Reply-To: <1129950753.4942.15.camel@TSUNAMI.MIT.EDU> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: d0ef9018-8db8-43df-808c-d96d819147ae X-Archives-Hash: 4414d1fe6ad784d314ea6e252b1d35e1 Tomasz Mloduchowski wrote: > Now, that I've got your attention. IMHO above should NOT fail - most of > the software in portage is already using ${HOST}-gcc instead and gcc > symlink is just a convenience. > > But it does. In packages I will never suspect being nasty (qt, lynx) and > ones I would, but they shouldn't (fuse) > > What is so important in that feature? Crosscompilation and distcc. > For example, I have alpha-unknown-linux-gnu running as a distcc server > for x86 box. And, it does not work for those packages. > > I got sick of filling 3 almost identical bug reports > 110040, 110086 and 110087 and I'm not even at half of emerge -uD world. > > So, if you agree that it IS a problem, do the `rm` and run ebuilds you > maintain. You will save me another 10 or so unnended bugreports. > > Tomasz You can quite easily get around these problems by being clever with distccd and some strategically placed symlinks. Simply, cd /usr/-unknown-linux-gnu/gcc-bin//, create symlinks in that directory that point cc, gcc, g++, and c++ to the appropriate ${CHOST}-gcc, etc... binaries, and then use a script such as http://dev.gentoo.org/~geoman/mips-distcc.sh to start an arch specific distccd on its own port. You can then use distcc-config to set your distcc hosts to host:port on the box you are compiling on. This works great, and is pretty much 100% foolproof as far as I can tell. -Steve -- gentoo-dev@gentoo.org mailing list