Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] howto recover gcc from another system
Date: Thu, 24 Feb 2011 17:15:21
Message-Id: loom.20110224T174200-903@post.gmane.org
1 Hello,
2
3 Well running a routine --depclean somehow
4 I lost the only copy of gcc on the system....
5
6 CFLAGS="-march=k8 -msse3 -O2 -pipe"
7 CHOST="x86_64-pc-linux-gnu"
8 CXXFLAGS="${CFLAGS}"
9
10 I have a a similar system set like this:
11
12 CFLAGS="-march=k8 -O2 -pipe"
13 CHOST="x86_64-pc-linux-gnu"
14 CXXFLAGS="${CFLAGS}"
15
16
17 Since there is no gcc-bin to emerge (ha ha)
18 I guess I'll have to copy over the binary of
19 orsys-devel/gcc-4.4.4-r2 from another system.
20 GUIDANCE on that is most welcome.
21
22 Additionally, this could be prevented by keeping
23 the latest current stable gcc as well as the
24 previous current stable gcc on the system,
25 perhaps via the world file? Or Another method
26 to ensure at least 2 versions of gcc are
27 always on a given system?
28
29 It's a first time deleting the compiler,
30 still do not know how it happened, as I
31 did look over the -p --depclean first....
32
33 -- The C compiler identification is unknown
34 -- The CXX compiler identification is unknown
35 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
36 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- broken
37 CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
38 The C compiler "/usr/bin/x86_64-pc-linux-gnu-gcc" is not able to compile a
39 simple test program.
40
41
42 James

Replies

Subject Author
Re: [gentoo-user] howto recover gcc from another system Dale <rdalek1967@×××××.com>
Re: [gentoo-user] howto recover gcc from another system Florian Philipp <lists@×××××××××××.net>
Re: [gentoo-user] howto recover gcc from another system Neil Bothwick <neil@××××××××××.uk>