james wrote:
Dale<rdalek1967<at> gmail.com> writes:
I lost the only copy of gcc on the system....
I would be glad to email you the binary from mine if it would help.
Dale,
I have several system to copy from (thanks anyway).
Is that all I have to do, just copy over the binary?
then rebuild gcc via the local ebuild package?
(using the copied over binary) that's all?
locate gcc (just a snippet)
/usr/x86_64-pc-linux-gnu/gcc-bin
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/c++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/cpp
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/g++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcc
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gccbug
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcov
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gfortran
So copy over
/usr/x86_64-pc-linux-gnu/gcc-bin
to the same location only?
Copy over all of them?
If I recall correctly, you put the binary in
/usr/portage/packages/sys-devel/ and then emerge -Ka
=sys-devel/gcc-4.4.4-r2 and it should just unpack and install gcc. I
have done this before but I was using my own binary that portage made
sure was put in the right place. This also assumes you are using the
portage defaults as to the location of the portage directory and such.
Mine looks like this:
root@fireball / # emerge -Ka =sys-devel/gcc-4.4.4-r2
These are the packages that would be merged, in order:
Calculating dependencies... done!
[binary R ] sys-devel/gcc-4.4.4-r2
Would you like to merge these packages? [Yes/No]
Note it says binary? If it says something else, then there may be a
problem.
It's been a while but I think all that is right.
Dale
:-) :-)