From: james <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: howto recover gcc from another system
Date: Thu, 24 Feb 2011 19:37:30 +0000 (UTC) [thread overview]
Message-ID: <loom.20110224T203016-611@post.gmane.org> (raw)
In-Reply-To: 4D66A07D.7000309@binarywings.net
Florian Philipp <lists <at> binarywings.net> writes:
> > 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.
> [...]
OK, if this the first step, then I'm confused.
/usr/bin has this:
-rwxr-xr-x 1 root root 14512 Jan 14 2010 gcc
lrwxrwxrwx 1 root root 62 Nov 6 14:08 gcc-4.4.4 ->
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4/x86_64-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 21709 Sep 22 2009 gcc-config
-rwxr-xr-x 1 root root 14512 Jan 14 2010 x86_64-pc-linux-gnu-gcc
lrwxrwxrwx 1 root root 62 Nov 6 14:08 x86_64-pc-linux-gnu-gcc-4.4.4 ->
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4/x86_64-pc-linux-gnu-gcc
So can I just rebuild the links, as it is fine
in /usr/bin:
file gcc
gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked
(uses shared libs), for GNU/Linux 2.6.9, stripped
Or do I use quickpkg to fix it, since the binary is
in place? (confused here so detail is appreciated!)
I already downloaded gcc-4.4.4 but it will
not build, so the symbolic link being used
is broken?
gcc-config -l
* gcc-config: Active gcc profile is invalid!
[1] x86_64-pc-linux-gnu-4.4.4
I understand that quickpkg can be used
to protect gcc in the future, but, I think
I need to use the /usr/bin binary to rebuild
the links and then the entire (gcc) package
from sources?
confused,
James
next prev parent reply other threads:[~2011-02-24 20:15 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
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 [this message]
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.20110224T203016-611@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