PDA

View Full Version : What's the most elegant way to restore a broken gcc



bartavelle
12-03-2003, 03:38 PM
My knoppix computer had some fs errors a while ago. Everything seems fine now, except that when i try to compile large packages, gcc (or ldd, or something else) segfaults after a while.

The problem is that i cannot recompile gcc, glibc or perl.

Is there an elegant way to start again with a fresh gcc? I thought about using the stage-x files but will that break my portage metadatas?

garyng
12-03-2003, 06:31 PM
sounds like gentoo is what you are describing(stage-x, portage).

If it is knoppix, it is debian based and the easiest way I believe would be :

apt-get remove gcc
apt-get install gcc

or may be

apt-get install --reinstall gcc binutils(?)