public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] howto recover gcc from another system
@ 2011-02-24 16:54 James
  2011-02-24 17:42 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: James @ 2011-02-24 16:54 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-02-25 10:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 16:54 [gentoo-user] howto recover gcc from another system James
2011-02-24 17:42 ` Dale
2011-02-24 18:39   ` [gentoo-user] " james
2011-02-24 19:55     ` Dale
2011-02-24 18:16 ` [gentoo-user] " Florian Philipp
2011-02-24 19:12   ` [gentoo-user] " James
2011-02-24 19:37   ` james
2011-02-24 19:38 ` [gentoo-user] " Neil Bothwick
2011-02-24 21:29   ` [gentoo-user] " James
2011-02-24 23:23     ` Neil Bothwick
2011-02-25  0:36     ` James
2011-02-25  0:50       ` Dale
2011-02-25  1:29         ` James
2011-02-25  1:59           ` Dale
2011-02-25  8:44             ` Neil Bothwick
2011-02-25  8:43           ` Marc Joliet
2011-02-25  9:23             ` [gentoo-user] FIXED: " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox