From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Pshb4-0003Hf-R5 for garchives@archives.gentoo.org; Thu, 24 Feb 2011 20:15:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 721AEE06BF for ; Thu, 24 Feb 2011 20:15:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 637241C001 for ; Thu, 24 Feb 2011 19:37:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DB7461B403D for ; Thu, 24 Feb 2011 19:37:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.53 X-Spam-Level: X-Spam-Status: No, score=-2.53 required=5.5 tests=[AWL=0.069, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cG4U+OfWWlbQ for ; Thu, 24 Feb 2011 19:37:49 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 50D521B400A for ; Thu, 24 Feb 2011 19:37:47 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Psh0R-0002sY-K7 for gentoo-user@gentoo.org; Thu, 24 Feb 2011 20:37:43 +0100 Received: from rrcs-71-40-157-251.se.biz.rr.com ([71.40.157.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 20:37:43 +0100 Received: from wireless by rrcs-71-40-157-251.se.biz.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 20:37:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: james Subject: [gentoo-user] Re: howto recover gcc from another system Date: Thu, 24 Feb 2011 19:37:30 +0000 (UTC) Message-ID: References: <4D66A07D.7000309@binarywings.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 71.40.157.251 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101214 Gentoo/2.0.11 SeaMonkey/2.0.11) X-Archives-Salt: X-Archives-Hash: 9f897e147918a2f851f737fc73d740c0 Florian Philipp binarywings.net> writes: > > Since there is no gcc-bin to emerge (ha ha) > > I guess I'll have to copy over the binary of > > orsys-devel/gcc-4.4.4-r2 from another system. > > GUIDANCE on that is most welcome. > [...] OK, if this the first step, then I'm confused. /usr/bin has this: -rwxr-xr-x 1 root root 14512 Jan 14 2010 gcc lrwxrwxrwx 1 root root 62 Nov 6 14:08 gcc-4.4.4 -> /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4/x86_64-pc-linux-gnu-gcc -rwxr-xr-x 1 root root 21709 Sep 22 2009 gcc-config -rwxr-xr-x 1 root root 14512 Jan 14 2010 x86_64-pc-linux-gnu-gcc lrwxrwxrwx 1 root root 62 Nov 6 14:08 x86_64-pc-linux-gnu-gcc-4.4.4 -> /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4/x86_64-pc-linux-gnu-gcc So can I just rebuild the links, as it is fine in /usr/bin: file gcc gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped Or do I use quickpkg to fix it, since the binary is in place? (confused here so detail is appreciated!) I already downloaded gcc-4.4.4 but it will not build, so the symbolic link being used is broken? gcc-config -l * gcc-config: Active gcc profile is invalid! [1] x86_64-pc-linux-gnu-4.4.4 I understand that quickpkg can be used to protect gcc in the future, but, I think I need to use the /usr/bin binary to rebuild the links and then the entire (gcc) package from sources? confused, James