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 1Psemf-00051q-8k for garchives@archives.gentoo.org; Thu, 24 Feb 2011 17:15:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6335B1C068 for ; Thu, 24 Feb 2011 17:15:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 19BF1E0552 for ; Thu, 24 Feb 2011 16:55:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 60EB71B4003 for ; Thu, 24 Feb 2011 16:55:00 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.529 X-Spam-Level: X-Spam-Status: No, score=-2.529 required=5.5 tests=[AWL=0.070, 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 oEmMFfeHZTNq for ; Thu, 24 Feb 2011 16:54:53 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id AB45D1B4027 for ; Thu, 24 Feb 2011 16:54:51 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PseSm-0000I2-MF for gentoo-user@gentoo.org; Thu, 24 Feb 2011 17:54:48 +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 17:54:48 +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 17:54:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] howto recover gcc from another system Date: Thu, 24 Feb 2011 16:54:36 +0000 (UTC) Message-ID: 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: 0be9bd37c7840d1ee34471f97670b862 Hello, Well running a routine --depclean somehow I lost the only copy of gcc on the system.... CFLAGS="-march=k8 -msse3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" I have a a similar system set like this: CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" 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. Additionally, this could be prevented by keeping the latest current stable gcc as well as the previous current stable gcc on the system, perhaps via the world file? Or Another method to ensure at least 2 versions of gcc are always on a given system? It's a first time deleting the compiler, still do not know how it happened, as I did look over the -p --depclean first.... -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/x86_64-pc-linux-gnu-gcc" is not able to compile a simple test program. James