[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-sparc
Subject:    RE: [gentoo-sparc] How do I recover from deleted gcc on U60
From:       Ferris McCormick <fmccor () gentoo ! org>
Date:       2006-07-22 12:15:12
Message-ID: Pine.LNX.4.64.0607221201350.12527 () terciopelo ! krait ! us
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 22 Jul 2006, Mitchell, Ralph wrote:

> -----Original Message-----
> From: Andrew Gaffney [mailto:agaffney@gentoo.org]
> > 
> > While the minimal and universal CDs *may( have a gutted gcc with minimal
> > functionality, there is no /var/db/pkg, so you can't really use portage with it.
> > 
> > You have 2 options for recovering from this: 1) find someone who has a recent
> > gcc built with the same USE that you had and similar CFLAGS, or 2) reinstall.
> 
> Couldn't he unpack a stage3 tarball, chroot into it and do just enough updates to \
> get gcc to the level he previously had??  Then quickpkg it and drop it into the \
> munged system. 
> Or am I being terribly naive??
> 
> Ralph Mitchell
> 

If you have a stage3, there are ways to recover the compiler; the 
suggested approach is one.  (You are really doing enough of a reinstall so 
that you can quickpkg gcc, and for that, all you need is to be able to 
point quickpkg into your unpacked stage3.)

You should also be able to copy enough of gcc into your system to rebuild 
it (/usr/share/gcc*, /usr/lib/gcc*, the compiler itself, and 
/etc/env.d/05gcc), or perhaps bring in your stage3 version of 
/etc/env.d/05gcc, modify it to point into your unpacked stage3, env-update 
and go from there).

Good luck,
Ferris

- --
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (Devrel, Sparc)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux)

iD8DBQFEwhbUQa6M3+I///cRApDnAJ0c58d3KXZHR5dmrx/ygPr8V/mwPwCeLCV9
7j58LSSfv45fSsfp09cm2ds=
=hqxL
-----END PGP SIGNATURE-----
-- 
gentoo-sparc@gentoo.org mailing list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic