View previous topic :: View next topic |
Author |
Message |
bendy Apprentice
Joined: 18 May 2002 Posts: 274 Location: Gloucester, UK
|
Posted: Sat May 18, 2002 7:03 pm Post subject: GCC broken (because I'm stupid) |
|
|
Due to an excess of ambition over skill I have managed to break my GCC. This obviously means I can't emerge a new one
Can anyone suggest a good way of inserting a compiled binary into my system? I tried to copy a gcc-2.95 binary from my debian partition to /usr/bin, and export CC=/usr/bin/gcc-2.95, but that was too easy and so didn't work.
Any suggestions that don't involve re-installing would be gratefully received..... |
|
Back to top |
|
|
lunatc Guru
Joined: 18 Apr 2002 Posts: 409 Location: Canary Islands. Spain
|
Posted: Sat May 18, 2002 7:33 pm Post subject: gcc |
|
|
I don't know if it will work but, you may try to extract it from the install CD
Code: |
tar tfj /mnt/cdrom/stage1-ix86-1.1a.tbz2 | grep gcc > gcc-file-list
|
I think that if on stage1 we are able to do an entire-system-build then gcc must be there! (correct me if i'm wrong, please!)
regards from Spain! |
|
Back to top |
|
|
bendy Apprentice
Joined: 18 May 2002 Posts: 274 Location: Gloucester, UK
|
Posted: Sun May 19, 2002 7:14 am Post subject: gcc fixed |
|
|
you were right - thank you.
I created a /tmp/gentoo directory and uncompressed the stage 1 tbz into it, then copied across all of the necessary gcc files, then emerged a new one. |
|
Back to top |
|
|
|