Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Switching to ~amd64 - Remove old gcc?
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
anyNiXwilldo
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 176
Location: US

PostPosted: Sun Sep 09, 2012 11:07 pm    Post subject: [SOLVED] Switching to ~amd64 - Remove old gcc? Reply with quote

As I am typing this, I am switching my second (not my main) Hardened system to ~amd64. I've rebuilt the toolchain twice (and used gcc-config to set the new compiler after the first rebuild) and am presently emerging the system. Once I have finished emerging the system (and prior to emerging the world), is it safe to remove the old gcc and keep only the ~amd64 gcc installed? Or do I need to keep both compilers installed because some code won't build with the new one?
_________________
Of course you can have my root password. I'm on Hardened!


Last edited by anyNiXwilldo on Sun Sep 09, 2012 11:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Sun Sep 09, 2012 11:18 pm    Post subject: Reply with quote

For the most part, you can remove the old GCC's. Theyr'e slotted so that means each get their own disk space.

However I'd recommend not removing the latest STABLE version just in case something doesn't compile just right with the testing version... Generally the devs will test against STABLE gcc, and for testing gcc - you're on your own.

I see a lot of people with several copies of stable gcc. Generally that's a waste of disk space. Make sure your gcc-config is pointing to the version you want and emerge --depclean the ones you don't.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
anyNiXwilldo
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 176
Location: US

PostPosted: Sun Sep 09, 2012 11:24 pm    Post subject: Reply with quote

Okey dokey. And thanks for the help.
_________________
Of course you can have my root password. I'm on Hardened!
Back to top
View user's profile Send private message
anyNiXwilldo
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 176
Location: US

PostPosted: Tue Sep 11, 2012 6:50 am    Post subject: Reply with quote

Ugh! Util-linux will NOT build, which means the upgrade to ~amd64 can not happen. Now I remember why I have always destested unstable. I will wipe and reinstall to stable Hardened in a chroot.
_________________
Of course you can have my root password. I'm on Hardened!
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