From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] howto recover gcc from another system
Date: Thu, 24 Feb 2011 16:54:36 +0000 (UTC) [thread overview]
Message-ID: <loom.20110224T174200-903@post.gmane.org> (raw)
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
next reply other threads:[~2011-02-24 17:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-24 16:54 James [this message]
2011-02-24 17:42 ` [gentoo-user] howto recover gcc from another system 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20110224T174200-903@post.gmane.org \
--to=wireless@tampabay.rr.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox