public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] howto recover gcc from another system
Date: Thu, 24 Feb 2011 11:42:12 -0600	[thread overview]
Message-ID: <4D669874.9070308@gmail.com> (raw)
In-Reply-To: <loom.20110224T174200-903@post.gmane.org>

James wrote:
> 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
>
>
>
>    

I would be glad to email you the binary from mine if it would help.  
Here is some info:

CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
sys-devel/gcc:       4.4.4-r2

Since it is set to native, I have a AMD X4 955 Deneb 3.2GHz CPU.  If you 
think it will work, let me know and I'll send you my copy.  I promise 
not to spit on it first too.  lol

Let me know if you need more info.

Dale

:-)  :-)



  reply	other threads:[~2011-02-24 18:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24 16:54 [gentoo-user] howto recover gcc from another system James
2011-02-24 17:42 ` Dale [this message]
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=4D669874.9070308@gmail.com \
    --to=rdalek1967@gmail.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