Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC broken (because I'm stupid)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bendy
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 274
Location: Gloucester, UK

PostPosted: Sat May 18, 2002 7:03 pm    Post subject: GCC broken (because I'm stupid) Reply with quote

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
View user's profile Send private message
lunatc
Guru
Guru


Joined: 18 Apr 2002
Posts: 409
Location: Canary Islands. Spain

PostPosted: Sat May 18, 2002 7:33 pm    Post subject: gcc Reply with quote

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! :roll: (correct me if i'm wrong, please!)

regards from Spain!
Back to top
View user's profile Send private message
bendy
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 274
Location: Gloucester, UK

PostPosted: Sun May 19, 2002 7:14 am    Post subject: gcc fixed Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum